Package org.apache.batik.swing.svg
Class JSVGComponent.SVGListener
java.lang.Object
org.apache.batik.swing.gvt.JGVTComponent.Listener
org.apache.batik.swing.svg.JSVGComponent.SVGListener
- All Implemented Interfaces:
KeyListener
,MouseListener
,MouseMotionListener
,MouseWheelListener
,EventListener
,UpdateManagerListener
,GVTTreeRendererListener
,GVTTreeBuilderListener
,SVGDocumentLoaderListener
,SVGLoadEventDispatcherListener
- Direct Known Subclasses:
JSVGCanvas.CanvasSVGListener
- Enclosing class:
JSVGComponent
protected class JSVGComponent.SVGListener
extends JGVTComponent.Listener
implements SVGDocumentLoaderListener, GVTTreeBuilderListener, SVGLoadEventDispatcherListener, UpdateManagerListener
To hide the listener methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.protected void
Dispatches the event to the GVT tree.void
Called when the loading of a document was cancelled.void
Called when the loading of a document was completed.void
Called when the loading of a document has failed.void
Called when the loading of a document was started.void
Called when a build was cancelled.void
Called when a build was completed.void
Called when a build failed.void
Called when a build started.void
Called when a rendering was cancelled.void
Called when a rendering was completed.void
Called when a rendering failed.void
Called when the manager was resumed.void
Called when the manager was started.void
Called when the manager was stopped.void
Called when the manager was suspended.void
Called when a onload event dispatch was cancelled.void
Called when a onload event dispatch was completed.void
Called when a onload event dispatch failed.void
Called when a onload event dispatch started.void
Called when an update was completed.void
Called when an update failed.void
Called when an update started.Methods inherited from class org.apache.batik.swing.gvt.JGVTComponent.Listener
deselectInteractor, gvtRenderingPrepare, gvtRenderingStarted, handleMouseClicked, keyPressed, keyReleased, keyTyped, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, mouseWheelMoved, selectInteractor
-
Constructor Details
-
SVGListener
protected SVGListener()Creates a new SVGListener.
-
-
Method Details
-
documentLoadingStarted
Called when the loading of a document was started.- Specified by:
documentLoadingStarted
in interfaceSVGDocumentLoaderListener
-
documentLoadingCompleted
Called when the loading of a document was completed.- Specified by:
documentLoadingCompleted
in interfaceSVGDocumentLoaderListener
-
documentLoadingCancelled
Called when the loading of a document was cancelled.- Specified by:
documentLoadingCancelled
in interfaceSVGDocumentLoaderListener
-
documentLoadingFailed
Called when the loading of a document has failed.- Specified by:
documentLoadingFailed
in interfaceSVGDocumentLoaderListener
-
gvtBuildStarted
Called when a build started. The data of the event is initialized to the old document.- Specified by:
gvtBuildStarted
in interfaceGVTTreeBuilderListener
-
gvtBuildCompleted
Called when a build was completed.- Specified by:
gvtBuildCompleted
in interfaceGVTTreeBuilderListener
-
gvtBuildCancelled
Called when a build was cancelled.- Specified by:
gvtBuildCancelled
in interfaceGVTTreeBuilderListener
-
gvtBuildFailed
Called when a build failed.- Specified by:
gvtBuildFailed
in interfaceGVTTreeBuilderListener
-
svgLoadEventDispatchStarted
Called when a onload event dispatch started.- Specified by:
svgLoadEventDispatchStarted
in interfaceSVGLoadEventDispatcherListener
-
svgLoadEventDispatchCompleted
Called when a onload event dispatch was completed.- Specified by:
svgLoadEventDispatchCompleted
in interfaceSVGLoadEventDispatcherListener
-
svgLoadEventDispatchCancelled
Called when a onload event dispatch was cancelled.- Specified by:
svgLoadEventDispatchCancelled
in interfaceSVGLoadEventDispatcherListener
-
svgLoadEventDispatchFailed
Called when a onload event dispatch failed.- Specified by:
svgLoadEventDispatchFailed
in interfaceSVGLoadEventDispatcherListener
-
gvtRenderingCompleted
Called when a rendering was completed.- Specified by:
gvtRenderingCompleted
in interfaceGVTTreeRendererListener
- Overrides:
gvtRenderingCompleted
in classJGVTComponent.Listener
-
gvtRenderingCancelled
Called when a rendering was cancelled.- Specified by:
gvtRenderingCancelled
in interfaceGVTTreeRendererListener
- Overrides:
gvtRenderingCancelled
in classJGVTComponent.Listener
-
gvtRenderingFailed
Called when a rendering failed.- Specified by:
gvtRenderingFailed
in interfaceGVTTreeRendererListener
- Overrides:
gvtRenderingFailed
in classJGVTComponent.Listener
-
managerStarted
Called when the manager was started.- Specified by:
managerStarted
in interfaceUpdateManagerListener
-
managerSuspended
Called when the manager was suspended.- Specified by:
managerSuspended
in interfaceUpdateManagerListener
-
managerResumed
Called when the manager was resumed.- Specified by:
managerResumed
in interfaceUpdateManagerListener
-
managerStopped
Called when the manager was stopped.- Specified by:
managerStopped
in interfaceUpdateManagerListener
-
updateStarted
Called when an update started.- Specified by:
updateStarted
in interfaceUpdateManagerListener
-
updateCompleted
Called when an update was completed.- Specified by:
updateCompleted
in interfaceUpdateManagerListener
-
updateFailed
Called when an update failed.- Specified by:
updateFailed
in interfaceUpdateManagerListener
-
dispatchKeyTyped
Dispatches the event to the GVT tree.- Overrides:
dispatchKeyTyped
in classJGVTComponent.Listener
-
dispatchKeyPressed
Dispatches the event to the GVT tree.- Overrides:
dispatchKeyPressed
in classJGVTComponent.Listener
-
dispatchKeyReleased
Dispatches the event to the GVT tree.- Overrides:
dispatchKeyReleased
in classJGVTComponent.Listener
-
dispatchMouseClicked
Dispatches the event to the GVT tree.- Overrides:
dispatchMouseClicked
in classJGVTComponent.Listener
-
dispatchMousePressed
Dispatches the event to the GVT tree.- Overrides:
dispatchMousePressed
in classJGVTComponent.Listener
-
dispatchMouseReleased
Dispatches the event to the GVT tree.- Overrides:
dispatchMouseReleased
in classJGVTComponent.Listener
-
dispatchMouseEntered
Dispatches the event to the GVT tree.- Overrides:
dispatchMouseEntered
in classJGVTComponent.Listener
-
dispatchMouseExited
Dispatches the event to the GVT tree.- Overrides:
dispatchMouseExited
in classJGVTComponent.Listener
-
dispatchMouseDragged
Dispatches the event to the GVT tree.- Overrides:
dispatchMouseDragged
in classJGVTComponent.Listener
-
dispatchMouseMoved
Dispatches the event to the GVT tree.- Overrides:
dispatchMouseMoved
in classJGVTComponent.Listener
-
dispatchMouseWheelMoved
Dispatches the event to the GVT tree.- Overrides:
dispatchMouseWheelMoved
in classJGVTComponent.Listener
-