|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.BaseScriptingEnvironment
org.apache.batik.bridge.ScriptingEnvironment
org.apache.batik.bridge.svg12.SVG12ScriptingEnvironment
public class SVG12ScriptingEnvironment
Manages scripting handlers for SVG 1.2 'handler' elements.
Nested Class Summary | |
---|---|
protected class |
SVG12ScriptingEnvironment.DOMAttrModifiedListener
|
protected class |
SVG12ScriptingEnvironment.DOMNodeInsertedListener
The listener class for 'DOMNodeInserted' event. |
protected class |
SVG12ScriptingEnvironment.DOMNodeRemovedListener
The listener class for 'DOMNodeRemoved' event. |
protected class |
SVG12ScriptingEnvironment.Global
The SVGGlobal object. |
protected class |
SVG12ScriptingEnvironment.HandlerScriptingEventListener
To handle a scripting event with an XML Events style handler. |
Nested classes/interfaces inherited from class org.apache.batik.bridge.ScriptingEnvironment |
---|
ScriptingEnvironment.EvaluateIntervalRunnable, ScriptingEnvironment.EvaluateRunnable, ScriptingEnvironment.EvaluateRunnableRunnable, ScriptingEnvironment.ScriptingEventListener, ScriptingEnvironment.Window |
Field Summary | |
---|---|
static String |
HANDLER_SCRIPT_DESCRIPTION
Constant used to describe handler scripts. |
protected TriplyIndexedTable |
handlerScriptingListeners
The listeners for XML Events style handlers. |
Fields inherited from class org.apache.batik.bridge.BaseScriptingEnvironment |
---|
ALTERNATE_EVENT_NAME, APPLICATION_ECMASCRIPT, bridgeContext, docPURL, document, EVENT_NAME, EVENT_SCRIPT_DESCRIPTION, executedScripts, INLINE_SCRIPT_DESCRIPTION, interpreter, languages, userAgent, windowObjects |
Constructor Summary | |
---|---|
SVG12ScriptingEnvironment(BridgeContext ctx)
Creates a new SVG12ScriptingEnvironment. |
Method Summary | |
---|---|
protected void |
addDocumentListeners()
Adds DOM listeners to the document. |
protected void |
addScriptingListenersOn(Element elt)
Adds the scripting listeners to the given element. |
Window |
createWindow(Interpreter interp,
String lang)
Creates a new Window object. |
protected void |
removeDocumentListeners()
Removes DOM listeners from the document. |
protected void |
removeScriptingListenersOn(Element elt)
Removes the scripting listeners from the given element. |
Methods inherited from class org.apache.batik.bridge.ScriptingEnvironment |
---|
addScriptingListeners, interrupt, removeScriptingListeners, runEventHandler, updateScriptingListeners |
Methods inherited from class org.apache.batik.bridge.BaseScriptingEnvironment |
---|
checkCompatibleScriptURL, dispatchSVGDocEvent, dispatchSVGLoad, dispatchSVGLoadEvent, dispatchSVGResizeEvent, dispatchSVGScrollEvent, dispatchSVGZoomEvent, getInterpreter, getInterpreter, getWindow, getWindow, handleInterpreterException, handleSecurityException, initializeEnvironment, isDynamicDocument, isDynamicElement, isDynamicElement, loadScript, loadScripts |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String HANDLER_SCRIPT_DESCRIPTION
protected TriplyIndexedTable handlerScriptingListeners
Constructor Detail |
---|
public SVG12ScriptingEnvironment(BridgeContext ctx)
ctx
- the bridge contextMethod Detail |
---|
protected void addDocumentListeners()
addDocumentListeners
in class ScriptingEnvironment
protected void removeDocumentListeners()
removeDocumentListeners
in class ScriptingEnvironment
protected void addScriptingListenersOn(Element elt)
addScriptingListenersOn
in class ScriptingEnvironment
protected void removeScriptingListenersOn(Element elt)
removeScriptingListenersOn
in class ScriptingEnvironment
public Window createWindow(Interpreter interp, String lang)
createWindow
in class ScriptingEnvironment
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |