| Package | system.events |
| Interface | public interface EventListener |
| Implementors | Delegate, EventListenerBatch |
EventListener interface is the primary method for handling events.
Users implement the EventListener interface and register their listener on an
EventTarget using the addEventListener method.
The users should also remove theirEventTarget from its EventTarget
after they have completed using the listener.
| Method | Defined By | ||
|---|---|---|---|
handleEvent(e:Event):void
This method is called whenever an event occurs of the type for which the EventListener interface was registered. | EventListener | ||
| handleEvent | () | method |
public function handleEvent(e:Event):void
This method is called whenever an event occurs of the type for which the EventListener interface was registered.
Parameters
e:Event — The Event contains contextual information about the event.
|