org.apache.batik.bridge.svg12
public class SVG12ScriptingEnvironment extends ScriptingEnvironment
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. |
Field Summary | |
---|---|
protected TriplyIndexedTable | handlerScriptingListeners
The listeners for XML Events style handlers.
|
static String | HANDLER_SCRIPT_DESCRIPTION
Constant used to describe handler scripts.
|
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. |
Parameters: ctx the bridge context