|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.apache.batik.util.HaltingThread
org.apache.batik.swing.svg.SVGLoadEventDispatcher
public class SVGLoadEventDispatcher
This class dispatches the SVGLoadEvent event on a SVG document.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
Thread.State, Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
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. |
Fields inherited from class org.apache.batik.util.HaltingThread |
---|
beenHalted |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
SVGLoadEventDispatcher(GraphicsNode gn,
org.w3c.dom.svg.SVGDocument doc,
BridgeContext bc,
UpdateManager um)
Creates a new SVGLoadEventDispatcher. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.batik.util.HaltingThread |
---|
clearHalted, halt, haltThread, haltThread, hasBeenHalted, hasBeenHalted, isHalted |
Methods inherited from class java.lang.Thread |
---|
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 |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected org.w3c.dom.svg.SVGDocument svgDocument
protected GraphicsNode root
protected BridgeContext bridgeContext
protected UpdateManager updateManager
protected List listeners
protected Exception exception
Constructor Detail |
---|
public SVGLoadEventDispatcher(GraphicsNode gn, org.w3c.dom.svg.SVGDocument doc, BridgeContext bc, UpdateManager um)
Method Detail |
---|
public void run()
run
in interface Runnable
run
in class Thread
public UpdateManager getUpdateManager()
public Exception getException()
public void addSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
public void removeSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
public void fireEvent(EventDispatcher.Dispatcher dispatcher, Object event)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |