org.apache.batik.bridge
Class SVGImageElementBridge.ForwardEventListener
java.lang.Object
|
+--org.apache.batik.bridge.SVGImageElementBridge.ForwardEventListener
- All Implemented Interfaces:
- EventListener
- Enclosing class:
- SVGImageElementBridge
- protected static class SVGImageElementBridge.ForwardEventListener
- extends java.lang.Object
- implements EventListener
A simple DOM listener to forward events from the SVG image document to
the original document.
Method Summary |
void |
handleEvent(Event e)
This method is called whenever an event occurs of the type for which
the EventListener interface was registered. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
svgElement
protected Element svgElement
- The root element of the SVG image.
imgElement
protected Element imgElement
- The image element.
SVGImageElementBridge.ForwardEventListener
public SVGImageElementBridge.ForwardEventListener(Element svgElement,
Element imgElement)
- Constructs a new ForwardEventListener
handleEvent
public void handleEvent(Event e)
- Description copied from interface:
EventListener
- This method is called whenever an event occurs of the type for which
the
EventListener
interface was registered.
- Specified by:
handleEvent
in interface EventListener
- Following copied from interface:
org.w3c.dom.events.EventListener
- Parameters:
evt
- The Event
contains contextual information
about the event. It also contains the stopPropagation
and preventDefault
methods which are used in
determining the event's flow and default action.
Copyright © 2001 Apache Software Foundation. All Rights Reserved.