|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEmxEventHandler
Specifies the event handler.
An event handler is a sink for events dispatched by the dispatcher. Each event provided to the dispatcher for scheduling is associated with an event handler to which the event will be dispatched.
Method Summary | |
---|---|
boolean |
onEvent(IEmxDispatcher dispatcher,
IEmxEvent event)
The event handler method. |
Method Detail |
---|
boolean onEvent(IEmxDispatcher dispatcher, IEmxEvent event)
dispatcher
- The dispatcher that is dispatching this event.event
- The dispatched event.
This is the method invoked by a dispatcher to dispatch an event. The user (event handler) must not retain a reference to a dispatched event subsequent to returning from this method in case the dispatcher is asked to reschedule the event.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |