public class SVGLoadEventDispatcher extends HaltingThread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected BridgeContext |
bridgeContext
The bridge context to use.
|
protected Exception |
exception
The exception thrown.
|
protected List |
listeners
The listeners.
|
protected GraphicsNode |
root
The root graphics node.
|
protected org.w3c.dom.svg.SVGDocument |
svgDocument
The SVG document to give to the bridge.
|
protected UpdateManager |
updateManager
The update manager.
|
beenHalted
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
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,
Object event) |
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 List listeners
protected Exception exception
public SVGLoadEventDispatcher(GraphicsNode gn, org.w3c.dom.svg.SVGDocument doc, BridgeContext bc, UpdateManager um)
public void run()
public UpdateManager getUpdateManager()
public Exception getException()
public void addSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
public void removeSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
public void fireEvent(EventDispatcher.Dispatcher dispatcher, Object event)
Copyright © 2000–2023 Apache Software Foundation. All rights reserved.