Class SVGLoadEventDispatcher

java.lang.Object
java.lang.Thread
io.sf.carte.echosvg.util.HaltingThread
io.sf.carte.echosvg.swing.svg.SVGLoadEventDispatcher
All Implemented Interfaces:
Runnable

public class SVGLoadEventDispatcher extends HaltingThread
This class dispatches the SVGLoadEvent event on a SVG document.
  • Field Details

    • svgDocument

      protected SVGDocument svgDocument
      The SVG document to give to the bridge.
    • root

      protected GraphicsNode root
      The root graphics node.
    • bridgeContext

      protected BridgeContext bridgeContext
      The bridge context to use.
    • updateManager

      protected UpdateManager updateManager
      The update manager.
    • listeners

      protected List<Object> listeners
      The listeners.
    • exception

      protected Exception exception
      The exception thrown.
  • Constructor Details

  • Method Details

    • run

      public void run()
      Runs the dispatcher.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • getUpdateManager

      public UpdateManager getUpdateManager()
      Returns the update manager.
    • getException

      public Exception getException()
      Returns the exception, if any occured.
    • addSVGLoadEventDispatcherListener

      public void addSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
      Adds a SVGLoadEventDispatcherListener to this SVGLoadEventDispatcher.
    • removeSVGLoadEventDispatcherListener

      public void removeSVGLoadEventDispatcherListener(SVGLoadEventDispatcherListener l)
      Removes a SVGLoadEventDispatcherListener from this SVGLoadEventDispatcher.
    • fireEvent

      public void fireEvent(EventDispatcher.Dispatcher dispatcher, Object event)