org.mozilla.dom.util
Class GenericEventListener

java.lang.Object
  extended by org.mozilla.dom.util.GenericEventListener
All Implemented Interfaces:
org.w3c.dom.events.EventListener

public class GenericEventListener
extends java.lang.Object
implements org.w3c.dom.events.EventListener


Constructor Summary
GenericEventListener()
           
GenericEventListener(java.io.PrintStream ps)
           
GenericEventListener(java.lang.String name)
           
GenericEventListener(java.lang.String name, java.io.PrintStream ps)
           
 
Method Summary
 void handleEvent(org.w3c.dom.events.Event event)
          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
 

Constructor Detail

GenericEventListener

public GenericEventListener()

GenericEventListener

public GenericEventListener(java.lang.String name)

GenericEventListener

public GenericEventListener(java.io.PrintStream ps)

GenericEventListener

public GenericEventListener(java.lang.String name,
                            java.io.PrintStream ps)
Method Detail

handleEvent

public void handleEvent(org.w3c.dom.events.Event event)
This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Specified by:
handleEvent in interface org.w3c.dom.events.EventListener
Parameters:
event - The Event contains contextual information about the event. It also contains the returnValue and cancelBubble properties which are used in determining proper event flow.


Copyright © 2002-2005 Mozilla.org All Rights Reserved.