public class GVTTreeBuilder 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.
|
(package private) static EventDispatcher.Dispatcher |
startedDispatcher |
protected org.w3c.dom.svg.SVGDocument |
svgDocument
The SVG document to give to the bridge.
|
beenHalted
Constructor and Description |
---|
GVTTreeBuilder(org.w3c.dom.svg.SVGDocument doc,
BridgeContext bc)
Creates a new GVTTreeBuilder.
|
Modifier and Type | Method and Description |
---|---|
void |
addGVTTreeBuilderListener(GVTTreeBuilderListener l)
Adds a GVTTreeBuilderListener to this GVTTreeBuilder.
|
void |
fireEvent(EventDispatcher.Dispatcher dispatcher,
java.lang.Object event) |
java.lang.Exception |
getException()
Returns the exception, if any occured.
|
void |
removeGVTTreeBuilderListener(GVTTreeBuilderListener l)
Removes a GVTTreeBuilderListener from this GVTTreeBuilder.
|
void |
run()
Runs this builder.
|
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 BridgeContext bridgeContext
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 GVTTreeBuilder(org.w3c.dom.svg.SVGDocument doc, BridgeContext bc)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public java.lang.Exception getException()
public void addGVTTreeBuilderListener(GVTTreeBuilderListener l)
public void removeGVTTreeBuilderListener(GVTTreeBuilderListener l)
public void fireEvent(EventDispatcher.Dispatcher dispatcher, java.lang.Object event)