Package org.apache.batik.bridge.svg12
Class SVG12BridgeContext.EventListenerWrapper
- java.lang.Object
-
- org.apache.batik.bridge.svg12.SVG12BridgeContext.EventListenerWrapper
-
- All Implemented Interfaces:
EventListener
- Enclosing class:
- SVG12BridgeContext
protected class SVG12BridgeContext.EventListenerWrapper extends java.lang.Object implements EventListener
Wrapper for DOM event listeners so that they will see only original events (i.e., not retargetted).
-
-
Field Summary
Fields Modifier and Type Field Description protected EventListenerlistenerThe wrapped listener.
-
Constructor Summary
Constructors Constructor Description EventListenerWrapper(EventListener l)Creates a new EventListenerWrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleEvent(Event evt)Handles the event.java.lang.StringtoString()String representation of this listener wrapper.
-
-
-
Field Detail
-
listener
protected EventListener listener
The wrapped listener.
-
-
Constructor Detail
-
EventListenerWrapper
public EventListenerWrapper(EventListener l)
Creates a new EventListenerWrapper.
-
-
Method Detail
-
handleEvent
public void handleEvent(Event evt)
Handles the event.- Specified by:
handleEventin interfaceEventListener- Parameters:
evt- TheEventcontains contextual information about the event.
-
toString
public java.lang.String toString()
String representation of this listener wrapper.- Overrides:
toStringin classjava.lang.Object
-
-