T - event typepublic class CancelableEventBus<T extends Cancelable> extends EventBus<T>
EventBus.SubclassEventListener<E extends T,T>ListenerList.EventListenerNodefirst, last, PRIORITY_DEFAULT, PRIORITY_HIGH, PRIORITY_LOW| Constructor and Description |
|---|
CancelableEventBus() |
| Modifier and Type | Method and Description |
|---|---|
void |
publish(T event)
Publishes an event by calling all of the registered listeners.
|