org.apache.batik.dom.events
Class EventListenerWrapper
java.lang.Object
|
+--org.apache.batik.dom.events.EventListenerWrapper
- All Implemented Interfaces:
- EventListener
- public class EventListenerWrapper
- extends java.lang.Object
- implements EventListener
This class implements a wrapper for an Event. All the methods
of the underlying document are called in a single thread.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
documentWrapper
protected DocumentWrapper documentWrapper
- The associated document wrapper.
eventListener
protected EventListener eventListener
- The wrapped EventListener.
EventListenerWrapper
public EventListenerWrapper(DocumentWrapper dw,
EventListener e)
- Creates a new EventListenerWrapper.
getEventListener
public EventListener getEventListener()
- Returns the associated EventListener.
handleEvent
public void handleEvent(Event ev)
- DOM: Implements
EventListener.handleEvent(Event)
.
- 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.