E
- The type of event.public interface EventDispatcher<E>
Modifier and Type | Method and Description |
---|---|
boolean |
dispatchEvents()
The dispatchEvents method processes any events in the queue.
|
boolean |
isEmpty()
The isEmpty method returns true when there are no pending events,
though the results may not always be correct due to concurrency issues.
|
void |
setActiveEventProcessor(EventProcessor<E> activeEventProcessor)
Specifies the object to which notificatins are sent and which processes events.
|
void setActiveEventProcessor(EventProcessor<E> activeEventProcessor)
activeEventProcessor
- Receives event notifications and processes events.boolean isEmpty()
boolean dispatchEvents()
Copyright © 2012. All Rights Reserved.