public class SVG12ScriptingEnvironment extends ScriptingEnvironment
Modifier and Type | Class and Description |
---|---|
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.
|
ScriptingEnvironment.EvaluateIntervalRunnable, ScriptingEnvironment.EvaluateRunnable, ScriptingEnvironment.EvaluateRunnableRunnable, ScriptingEnvironment.ScriptingEventListener, ScriptingEnvironment.Window
Modifier and Type | Field and Description |
---|---|
static String |
HANDLER_SCRIPT_DESCRIPTION
Constant used to describe handler scripts.
|
protected TriplyIndexedTable |
handlerScriptingListeners
The listeners for XML Events style handlers.
|
activateListener, beginListener, clickListener, domAttrModifiedListener, domNodeInsertedListener, domNodeRemovedListener, endListener, focusinListener, focusoutListener, keydownListener, keypressListener, keyupListener, listeners, mousedownListener, mousemoveListener, mouseoutListener, mouseoverListener, mouseupListener, repeatListener, SVG_DOM_EVENT, SVG_EVENT_ATTRS, svgAbortListener, svgErrorListener, svgResizeListener, svgScrollListener, svgUnloadListener, svgZoomListener, timer, updateManager, updateRunnableQueue
ALTERNATE_EVENT_NAME, APPLICATION_ECMASCRIPT, bridgeContext, docPURL, document, EVENT_NAME, EVENT_SCRIPT_DESCRIPTION, executedScripts, INLINE_SCRIPT_DESCRIPTION, interpreter, languages, userAgent, windowObjects
Constructor and Description |
---|
SVG12ScriptingEnvironment(BridgeContext ctx)
Creates a new SVG12ScriptingEnvironment.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addScriptingListeners, interrupt, removeScriptingListeners, runEventHandler, updateScriptingListeners
checkCompatibleScriptURL, dispatchSVGDocEvent, dispatchSVGLoad, dispatchSVGLoadEvent, dispatchSVGResizeEvent, dispatchSVGScrollEvent, dispatchSVGZoomEvent, getInterpreter, getInterpreter, getWindow, getWindow, handleInterpreterException, handleSecurityException, initializeEnvironment, isDynamicDocument, isDynamicElement, isDynamicElement, loadScript, loadScripts
public static final String HANDLER_SCRIPT_DESCRIPTION
protected TriplyIndexedTable handlerScriptingListeners
public SVG12ScriptingEnvironment(BridgeContext ctx)
ctx
- the bridge contextprotected 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
Copyright © 2000–2022 Apache Software Foundation. All rights reserved.