|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.bridge.BaseScriptingEnvironment | +--org.apache.batik.bridge.ScriptingEnvironment
This class contains the informations needed by the SVG scripting.
Inner Class Summary | |
protected class |
ScriptingEnvironment.EvaluateIntervalRunnable
To interpret a script. |
protected class |
ScriptingEnvironment.EvaluateRunnable
To interpret a script. |
protected class |
ScriptingEnvironment.EvaluateRunnableRunnable
To call a Runnable. |
protected class |
ScriptingEnvironment.EventListenerWrapper
To wrap an event listener. |
protected class |
ScriptingEnvironment.Window
Represents the window object of this environment. |
Inner classes inherited from class org.apache.batik.bridge.BaseScriptingEnvironment |
BaseScriptingEnvironment.Window |
Field Summary | |
protected java.util.Timer |
timer
The timer for periodic or delayed tasks. |
protected UpdateManager |
updateManager
The update manager. |
protected RunnableQueue |
updateRunnableQueue
The update runnable queue. |
Fields inherited from class org.apache.batik.bridge.BaseScriptingEnvironment |
ALTERNATE_EVENT_NAME, bridgeContext, document, EVENT_NAME, userAgent |
Constructor Summary | |
ScriptingEnvironment(BridgeContext ctx)
Creates a new ScriptingEnvironment. |
Method Summary | |
Window |
createWindow(Interpreter interp,
java.lang.String lang)
Creates a new Window object. |
void |
interrupt()
Interrupts the periodic tasks. |
void |
runEventHandler(java.lang.String script,
Event evt,
java.lang.String lang)
Runs an event handler. |
Methods inherited from class org.apache.batik.bridge.BaseScriptingEnvironment |
createWindow, dispatchSVGLoad, dispatchSVGLoadEvent, handleInterpreterException, initializeEnvironment, isDynamicDocument, isDynamicElement, loadScripts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Timer timer
protected UpdateManager updateManager
protected RunnableQueue updateRunnableQueue
Constructor Detail |
public ScriptingEnvironment(BridgeContext ctx)
ctx
- the bridge contextMethod Detail |
public Window createWindow(Interpreter interp, java.lang.String lang)
createWindow
in class BaseScriptingEnvironment
public void runEventHandler(java.lang.String script, Event evt, java.lang.String lang)
public void interrupt()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |