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 (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.