public interface EventBus
Modifier and Type | Method and Description |
---|---|
<E extends Event> |
attachEventHandler(java.lang.Class<E> eventType,
EventHandler<E> handler) |
<E extends ObjectEvent> |
attachObjectEventHandler(java.lang.Class<E> eventType,
java.lang.Class<?> objectType,
EventHandler<E> handler) |
<E extends Event> |
detachEventHandler(java.lang.Class<E> eventType,
EventHandler<E> handler) |
<E extends ObjectEvent> |
detachObjectEventHandler(java.lang.Class<E> eventType,
java.lang.Class<?> objectType,
EventHandler<E> handler) |
void |
fireEvent(Event event) |
void fireEvent(Event event)
<E extends Event> void attachEventHandler(java.lang.Class<E> eventType, EventHandler<E> handler)
<E extends Event> boolean detachEventHandler(java.lang.Class<E> eventType, EventHandler<E> handler)
<E extends ObjectEvent> void attachObjectEventHandler(java.lang.Class<E> eventType, java.lang.Class<?> objectType, EventHandler<E> handler)
<E extends ObjectEvent> void detachObjectEventHandler(java.lang.Class<E> eventType, java.lang.Class<?> objectType, EventHandler<E> handler)