T
- the event class this handler can handle@FunctionalInterface public interface EventHandler<T extends Event> extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
handle(T event)
Invoked when a specific event of the type for which this handler is
registered happens.
|
void handle(T event)
event
- the event which occurredCopyright © 2020. All rights reserved.