public class PendingEventDispatcher<T extends java.util.EventListener>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addListener(T listener) |
void |
addListener(T listener,
Disposable parentDisposable) |
static <T extends java.util.EventListener> |
create(java.lang.Class<T> listenerClass) |
static <T extends java.util.EventListener> |
create(java.lang.Class<T> listenerClass,
boolean assertDispatchThread) |
void |
dispatchPendingEvent(T listener) |
java.util.List<T> |
getListeners() |
T |
getMulticaster() |
boolean |
hasListeners() |
boolean |
isDispatching() |
static boolean |
isDispatchingAnyEvent() |
void |
removeListener(T listener) |
public static <T extends java.util.EventListener> PendingEventDispatcher<T> create(java.lang.Class<T> listenerClass)
public static <T extends java.util.EventListener> PendingEventDispatcher<T> create(java.lang.Class<T> listenerClass, boolean assertDispatchThread)
public static boolean isDispatchingAnyEvent()
public boolean isDispatching()
public boolean hasListeners()
public T getMulticaster()
public void addListener(T listener)
public void addListener(T listener, Disposable parentDisposable)
public void removeListener(T listener)
public void dispatchPendingEvent(T listener)
public java.util.List<T> getListeners()