public interface EventDispatchHandler<E extends Event> extends EventHandler<E>
| Modifier and Type | Method and Description |
|---|---|
void |
handle(E inEvent,
java.lang.Exception ex)
Called when a matching event is dispatched.
|
int |
handleOrder() |
java.lang.Class<E> |
handleType() |
void |
onCancelHandler()
Called when this handler is unregistered with the dispatcher.
|
java.lang.Class<E> handleType()
int handleOrder()
void handle(E inEvent, java.lang.Exception ex) throws java.lang.Exception
handle in interface EventHandler<E extends Event>inEvent - - The dispatched event.ex - - An exception to pass to the handlerjava.lang.Exceptionvoid onCancelHandler()