Class SVGDocumentLoader

java.lang.Object
java.lang.Thread
org.apache.batik.util.HaltingThread
org.apache.batik.swing.svg.SVGDocumentLoader
All Implemented Interfaces:
Runnable

public class SVGDocumentLoader extends HaltingThread
This class represents an object which loads asynchroneaously a SVG document.
Version:
$Id: SVGDocumentLoader.java 1733416 2016-03-03 07:07:13Z gadams $
  • Field Details

  • Constructor Details

    • SVGDocumentLoader

      public SVGDocumentLoader(String u, DocumentLoader l)
      Creates a new SVGDocumentLoader.
      Parameters:
      u - The URL of the document.
      l - The document loader to use
  • Method Details

    • run

      public void run()
      Runs this loader.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • getException

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

      public void addSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
      Adds a SVGDocumentLoaderListener to this SVGDocumentLoader.
    • removeSVGDocumentLoaderListener

      public void removeSVGDocumentLoaderListener(SVGDocumentLoaderListener l)
      Removes a SVGDocumentLoaderListener from this SVGDocumentLoader.
    • fireEvent

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