Class GVTTreeBuilder
java.lang.Object
java.lang.Thread
org.apache.batik.util.HaltingThread
org.apache.batik.swing.svg.GVTTreeBuilder
- All Implemented Interfaces:
Runnable
This class represents an object which builds asynchroneaously
a GVT tree.
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BridgeContextThe bridge context to use.protected ExceptionThe exception thrown.protected ListThe listeners.protected org.w3c.dom.svg.SVGDocumentThe SVG document to give to the bridge.Fields inherited from class HaltingThread
beenHaltedFields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionGVTTreeBuilder(org.w3c.dom.svg.SVGDocument doc, BridgeContext bc) Creates a new GVTTreeBuilder. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a GVTTreeBuilderListener to this GVTTreeBuilder.voidfireEvent(EventDispatcher.Dispatcher dispatcher, Object event) Returns the exception, if any occured.voidRemoves a GVTTreeBuilderListener from this GVTTreeBuilder.voidrun()Runs this builder.Methods inherited from class HaltingThread
clearHalted, halt, haltThread, haltThread, hasBeenHalted, hasBeenHalted, isHaltedMethods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
svgDocument
protected org.w3c.dom.svg.SVGDocument svgDocumentThe SVG document to give to the bridge. -
bridgeContext
The bridge context to use. -
listeners
The listeners. -
exception
The exception thrown.
-
-
Constructor Details
-
GVTTreeBuilder
Creates a new GVTTreeBuilder.
-
-
Method Details
-
run
-
getException
Returns the exception, if any occured. -
addGVTTreeBuilderListener
Adds a GVTTreeBuilderListener to this GVTTreeBuilder. -
removeGVTTreeBuilderListener
Removes a GVTTreeBuilderListener from this GVTTreeBuilder. -
fireEvent
-