|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--org.apache.batik.swing.svg.SVGLoadEventDispatcher
This class dispatches the SVGLoadEvent event on a SVG document.
Field Summary | |
protected BridgeContext |
bridgeContext
The bridge context to use. |
protected java.lang.Exception |
exception
The exception thrown. |
protected java.util.List |
listeners
The listeners. |
protected GraphicsNode |
root
The root graphics node. |
protected SVGDocument |
svgDocument
The SVG document to give to the bridge. |
protected UpdateManager |
updateManager
The update manager. |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
SVGLoadEventDispatcher(GraphicsNode gn,
SVGDocument doc,
BridgeContext bc,
UpdateManager um)
Creates a new SVGLoadEventDispatcher. |
Method Summary | |
void |
addSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
Adds a SVGLoadEventDispatcherListener to this SVGLoadEventDispatcher. |
protected void |
fireCancelledEvent()
Fires a SVGLoadEventDispatcherEvent. |
protected void |
fireCompletedEvent()
Fires a SVGLoadEventDispatcherEvent. |
protected void |
fireFailedEvent()
Fires a SVGLoadEventDispatcherEvent. |
protected void |
fireStartedEvent()
Fires a SVGLoadEventDispatcherEvent. |
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. |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, 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 GraphicsNode root
protected BridgeContext bridgeContext
protected UpdateManager updateManager
protected java.util.List listeners
protected java.lang.Exception exception
Constructor Detail |
public SVGLoadEventDispatcher(GraphicsNode gn, SVGDocument doc, BridgeContext bc, UpdateManager um)
Method Detail |
public void run()
run
in class java.lang.Thread
public UpdateManager getUpdateManager()
public java.lang.Exception getException()
public void addSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
public void removeSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
protected void fireStartedEvent() throws java.lang.InterruptedException
protected void fireCompletedEvent()
protected void fireFailedEvent()
protected void fireCancelledEvent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |