org.w3c.dom.events
Interface EventListener


public interface EventListener

This interface represents an event listener, and is a subset of the EventListener interface defined in the DOM Level 2 Event model.

This interface must be implemented and registered on an EventTarget using the addEventListener method to be notified about events that occur on or bubble through the event target.


Method Summary
 void handleEvent(Event evt)
          This method is called whenever an event occurs of the type for which the EventListener interface was registered..
 

Method Detail

handleEvent

void handleEvent(Event evt)
This method is called whenever an event occurs of the type for which the EventListener interface was registered.. The Event object contains the necessary information pertaining to the event, such as its target and type.

Parameters:
evt - the Event object containing necessary event information.


Copyright © 2003-2006 Nokia Corporation. See the Copyright Notice for details.