|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.apache.batik.swing.svg.GVTTreeBuilder
This class represents an object which builds asynchroneaously a GVT tree.
Field Summary | |
protected boolean |
beenInterrupted
Boolean indicating if this thread has ever been interrupted. |
protected BridgeContext |
bridgeContext
The bridge context to use. |
protected java.lang.Exception |
exception
The exception thrown. |
protected java.util.List |
listeners
The listeners. |
protected SVGDocument |
svgDocument
The SVG document to give to the bridge. |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
GVTTreeBuilder(SVGDocument doc,
BridgeContext bc)
Creates a new GVTTreeBuilder. |
Method Summary | |
void |
addGVTTreeBuilderListener(GVTTreeBuilderListener l)
Adds a GVTTreeBuilderListener to this GVTTreeBuilder. |
void |
fireEvent(EventDispatcher.Dispatcher dispatcher,
java.lang.Object event)
|
boolean |
getBeenInterrupted()
|
java.lang.Exception |
getException()
Returns the exception, if any occured. |
void |
interrupt()
|
void |
removeGVTTreeBuilderListener(GVTTreeBuilderListener l)
Removes a GVTTreeBuilderListener from this GVTTreeBuilder. |
void |
run()
Runs this builder. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected SVGDocument svgDocument
protected BridgeContext bridgeContext
protected java.util.List listeners
protected java.lang.Exception exception
protected boolean beenInterrupted
Constructor Detail |
public GVTTreeBuilder(SVGDocument doc, BridgeContext bc)
Method Detail |
public boolean getBeenInterrupted()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void interrupt()
interrupt
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)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |