Class SVGDocumentLoaderEvent

java.lang.Object
java.util.EventObject
org.apache.batik.swing.svg.SVGDocumentLoaderEvent
All Implemented Interfaces:
Serializable

public class SVGDocumentLoaderEvent extends EventObject
This class represents an event which indicate an event originated from a SVGDocumentLoader instance.
Version:
$Id: SVGDocumentLoaderEvent.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

    • svgDocument

      protected org.w3c.dom.svg.SVGDocument svgDocument
      The associated SVG document.
  • Constructor Details

    • SVGDocumentLoaderEvent

      public SVGDocumentLoaderEvent(Object source, org.w3c.dom.svg.SVGDocument doc)
      Creates a new SVGDocumentLoaderEvent.
      Parameters:
      source - the object that originated the event, ie. the SVGDocumentLoader.
      doc - The associated document.
  • Method Details

    • getSVGDocument

      public org.w3c.dom.svg.SVGDocument getSVGDocument()
      Returns the associated SVG document, or null if the loading was just started or an error occured.