java.lang.Object
java.lang.Thread
io.sf.carte.echosvg.util.HaltingThread
io.sf.carte.echosvg.swing.svg.SVGLoadEventDispatcher
- All Implemented Interfaces:
- Runnable
This class dispatches the SVGLoadEvent event on a SVG document.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.ThreadThread.Builder, Thread.State, Thread.UncaughtExceptionHandler
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected BridgeContextThe bridge context to use.protected ExceptionThe exception thrown.The listeners.protected GraphicsNodeThe root graphics node.protected SVGDocumentThe SVG document to give to the bridge.protected UpdateManagerThe update manager.Fields inherited from class java.lang.ThreadMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
- 
Constructor SummaryConstructorsConstructorDescriptionSVGLoadEventDispatcher(GraphicsNode gn, SVGDocument doc, BridgeContext bc, UpdateManager um) Creates a new SVGLoadEventDispatcher.
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds a SVGLoadEventDispatcherListener to this SVGLoadEventDispatcher.voidfireEvent(EventDispatcher.Dispatcher dispatcher, Object event) Returns the exception, if any occured.Returns the update manager.voidRemoves a SVGLoadEventDispatcherListener from this SVGLoadEventDispatcher.voidrun()Runs the dispatcher.Methods inherited from class io.sf.carte.echosvg.util.HaltingThreadclearHalted, halt, haltThread, haltThread, hasBeenHalted, hasBeenHalted, isHaltedMethods inherited from class java.lang.ThreadactiveCount, checkAccess, clone, countStackFrames, 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, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
- 
Field Details- 
svgDocumentThe SVG document to give to the bridge.
- 
rootThe root graphics node.
- 
bridgeContextThe bridge context to use.
- 
updateManagerThe update manager.
- 
listenersThe listeners.
- 
exceptionThe exception thrown.
 
- 
- 
Constructor Details- 
SVGLoadEventDispatcherCreates a new SVGLoadEventDispatcher.
 
- 
- 
Method Details- 
runpublic void run()Runs the dispatcher.
- 
getUpdateManagerReturns the update manager.
- 
getExceptionReturns the exception, if any occured.
- 
addSVGLoadEventDispatcherListenerAdds a SVGLoadEventDispatcherListener to this SVGLoadEventDispatcher.
- 
removeSVGLoadEventDispatcherListenerRemoves a SVGLoadEventDispatcherListener from this SVGLoadEventDispatcher.
- 
fireEvent
 
-