Package org.apache.batik.swing.svg
Class SVGDocumentLoaderEvent
java.lang.Object
java.util.EventObject
org.apache.batik.swing.svg.SVGDocumentLoaderEvent
- All Implemented Interfaces:
Serializable
This class represents an event which indicate an event originated
from a SVGDocumentLoader instance.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.w3c.dom.svg.SVGDocument
The associated SVG document.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionSVGDocumentLoaderEvent
(Object source, org.w3c.dom.svg.SVGDocument doc) Creates a new SVGDocumentLoaderEvent. -
Method Summary
Modifier and TypeMethodDescriptionorg.w3c.dom.svg.SVGDocument
Returns the associated SVG document, or null if the loading was just started or an error occured.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
svgDocument
protected org.w3c.dom.svg.SVGDocument svgDocumentThe associated SVG document.
-
-
Constructor Details
-
SVGDocumentLoaderEvent
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.
-