org.apache.batik.bridge
Class ScriptingEnvironment.EventListenerWrapper

java.lang.Object
  |
  +--org.apache.batik.bridge.ScriptingEnvironment.EventListenerWrapper
All Implemented Interfaces:
EventListener
Enclosing class:
ScriptingEnvironment

protected class ScriptingEnvironment.EventListenerWrapper
extends java.lang.Object
implements EventListener

To wrap an event listener.


Field Summary
protected  EventListener eventListener
          The wrapped event listener.
 
Constructor Summary
ScriptingEnvironment.EventListenerWrapper(EventListener el)
          Creates a new EventListenerWrapper.
 
Method Summary
 void handleEvent(Event evt)
          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
 

Field Detail

eventListener

protected EventListener eventListener
The wrapped event listener.
Constructor Detail

ScriptingEnvironment.EventListenerWrapper

public ScriptingEnvironment.EventListenerWrapper(EventListener el)
Creates a new EventListenerWrapper.
Method Detail

handleEvent

public void handleEvent(Event evt)
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 © 2002 Apache Software Foundation. All Rights Reserved.