Package kiyut.sketsa.loaders.event
Class SVGEditorSupportEvent
- java.lang.Object
-
- java.util.EventObject
-
- kiyut.sketsa.loaders.event.SVGEditorSupportEvent
-
- All Implemented Interfaces:
Serializable
public class SVGEditorSupportEvent extends EventObject
An event forSVGEditorSupport. If you like to know the SVGDocument location, you can usedoc.getDocumentURI()- Author:
- KIYUT
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description SVGEditorSupportEvent(Object source, org.w3c.dom.svg.SVGDocument doc)SVGEditorSupportEvent(Object source, org.w3c.dom.svg.SVGDocument doc, org.openide.windows.TopComponent tc)SVGEditorSupportEvent(Object source, org.w3c.dom.svg.SVGDocument doc, org.w3c.dom.svg.SVGDocument replacedDoc, org.openide.windows.TopComponent tc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.svg.SVGDocumentgetReplacedSVGDocument()Return replaced SVGDocument, only valid during documentReplaced eventorg.w3c.dom.svg.SVGDocumentgetSVGDocument()Return SVGDocumentorg.openide.windows.TopComponentgetTopComponent()Return the associated TopComponent-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Constructor Detail
-
SVGEditorSupportEvent
public SVGEditorSupportEvent(Object source, org.w3c.dom.svg.SVGDocument doc)
-
SVGEditorSupportEvent
public SVGEditorSupportEvent(Object source, org.w3c.dom.svg.SVGDocument doc, org.openide.windows.TopComponent tc)
-
SVGEditorSupportEvent
public SVGEditorSupportEvent(Object source, org.w3c.dom.svg.SVGDocument doc, org.w3c.dom.svg.SVGDocument replacedDoc, org.openide.windows.TopComponent tc)
-
-
Method Detail
-
getSVGDocument
public org.w3c.dom.svg.SVGDocument getSVGDocument()
Return SVGDocument- Returns:
- SVGDocument
-
getTopComponent
public org.openide.windows.TopComponent getTopComponent()
Return the associated TopComponent- Returns:
- TopComponent or null
-
getReplacedSVGDocument
public org.w3c.dom.svg.SVGDocument getReplacedSVGDocument()
Return replaced SVGDocument, only valid during documentReplaced event- Returns:
- SVGDocument
-
-