Package 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.
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.ElementimgElementThe image element.protected org.w3c.dom.ElementsvgElementThe root element of the SVG image.
-
Constructor Summary
Constructors Constructor Description ForwardEventListener(org.w3c.dom.Element svgElement, org.w3c.dom.Element imgElement)Constructs a newForwardEventListener
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(Event e)This method is called whenever an event occurs of the event type for which theEventListenerinterface was registered.
-
-
-
Method Detail
-
handleEvent
public void handleEvent(Event e)
Description copied from interface:EventListenerThis method is called whenever an event occurs of the event type for which theEventListenerinterface was registered.- Specified by:
handleEventin interfaceEventListener- Parameters:
e- TheEventcontains contextual information about the event.
-
-