Constructor and Description |
---|
EventBusImpl() |
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) |
public <E extends ObjectEvent> void attachObjectEventHandler(java.lang.Class<E> eventType, java.lang.Class<?> objectType, EventHandler<E> handler)
attachObjectEventHandler
in interface EventBus
public <E extends ObjectEvent> void detachObjectEventHandler(java.lang.Class<E> eventType, java.lang.Class<?> objectType, EventHandler<E> handler)
detachObjectEventHandler
in interface EventBus
public <E extends Event> void attachEventHandler(java.lang.Class<E> eventType, EventHandler<E> handler)
attachEventHandler
in interface EventBus
public <E extends Event> boolean detachEventHandler(java.lang.Class<E> eventType, EventHandler<E> handler)
detachEventHandler
in interface EventBus