public interface EventQueueListener
EventQueue.
An event queue listener can be registered to an event queue using
EventQueue.registerListener(EventQueueListener).
When you register your listener, the EventQueue.registerListener(EventQueueListener)
method returns the unique type identifier associated with that listener. This type can then be
used to send events to the corresponding listener.
| Modifier and Type | Method and Description |
|---|---|
void |
handleEvent(int type,
int data)
Handles an event.
|
void |
handleExtendedEvent(int type,
EventDataReader eventDataReader)
Handles an extended event.
|
void handleEvent(int type,
int data)
This method is called by the queue when an event with the right type is read.
type - the type of the event to handle.data - the data of the event to handle.void handleExtendedEvent(int type,
EventDataReader eventDataReader)
This method is called by the queue when an extended event with the right type is read.
type - the type of the event to handle.eventDataReader - the EventDataReader of the event to handle.