public interface EventHandler<E extends Event> extends EventListener
Represents a generic event handler. An event handler can be registered with the EventBus
and is subsequently notified on the corresponding events.
<p>
The event handler implementation is responsible for being able to handle all event types it is registered for.
Modifier and Type | Method and Description |
---|---|
void |
handleEvent(E event)
Invoked when the corresponding event is dispatched via the event bus.
|
void handleEvent(E event)
Invoked when the corresponding event is dispatched via the event bus.
event
- the eventCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.