Module ui.widget.eventlistener

The EventListener is an interface that handles events.

This is the base class for ui.widget.widget

EventListeners have a rudimentary event handler/dispatcher that will call a method "onEventName" for an event with name "EventName"

Functions

EventListener:handleEvent (event) Invoke handler method for an event.


Functions

EventListener:handleEvent (event)
Invoke handler method for an event.

Handler method name is determined by ui.event.Event's handler field. By default, it's "on"..Event.name.

Parameters:

Returns:

    bool return true if event is consumed successfully.
generated by LDoc 1.4.6 Last updated 2017-08-17 09:26:49