public class SVGLoadEventDispatcher extends HaltingThread
Modifier and Type | Field and Description |
---|---|
protected BridgeContext |
bridgeContext
The bridge context to use.
|
(package private) static EventDispatcher.Dispatcher |
cancelledDispatcher |
(package private) static EventDispatcher.Dispatcher |
completedDispatcher |
protected java.lang.Exception |
exception
The exception thrown.
|
(package private) static EventDispatcher.Dispatcher |
failedDispatcher |
protected java.util.List |
listeners
The listeners.
|
protected GraphicsNode |
root
The root graphics node.
|
(package private) static EventDispatcher.Dispatcher |
startedDispatcher |
protected org.w3c.dom.svg.SVGDocument |
svgDocument
The SVG document to give to the bridge.
|
protected UpdateManager |
updateManager
The update manager.
|
beenHalted
Constructor and Description |
---|
SVGLoadEventDispatcher(GraphicsNode gn,
org.w3c.dom.svg.SVGDocument doc,
BridgeContext bc,
UpdateManager um)
Creates a new SVGLoadEventDispatcher.
|
Modifier and Type | Method and Description |
---|---|
void |
addSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
Adds a SVGLoadEventDispatcherListener to this SVGLoadEventDispatcher.
|
void |
fireEvent(EventDispatcher.Dispatcher dispatcher,
java.lang.Object event) |
java.lang.Exception |
getException()
Returns the exception, if any occured.
|
UpdateManager |
getUpdateManager()
Returns the update manager.
|
void |
removeSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
Removes a SVGLoadEventDispatcherListener from this
SVGLoadEventDispatcher.
|
void |
run()
Runs the dispatcher.
|
clearHalted, halt, haltThread, haltThread, hasBeenHalted, hasBeenHalted, isHalted
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected org.w3c.dom.svg.SVGDocument svgDocument
protected GraphicsNode root
protected BridgeContext bridgeContext
protected UpdateManager updateManager
protected java.util.List listeners
protected java.lang.Exception exception
static EventDispatcher.Dispatcher startedDispatcher
static EventDispatcher.Dispatcher completedDispatcher
static EventDispatcher.Dispatcher cancelledDispatcher
static EventDispatcher.Dispatcher failedDispatcher
public SVGLoadEventDispatcher(GraphicsNode gn, org.w3c.dom.svg.SVGDocument doc, BridgeContext bc, UpdateManager um)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public UpdateManager getUpdateManager()
public java.lang.Exception getException()
public void addSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
public void removeSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
public void fireEvent(EventDispatcher.Dispatcher dispatcher, java.lang.Object event)