public class EventDispatcher<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,
java.util.Map<java.lang.String,java.lang.Object> methodReturnValues) |
java.util.List<T> |
getListeners() |
T |
getMulticaster() |
static java.lang.Object |
handleObjectMethod(java.lang.Object proxy,
java.lang.Object[] args,
java.lang.String methodName) |
boolean |
hasListeners() |
void |
neuterMultiCasterWhilePerformanceTestIsRunningUntil(Disposable disposable) |
void |
removeListener(T listener) |
public static <T extends java.util.EventListener> EventDispatcher<T> create(java.lang.Class<T> listenerClass)
public static <T extends java.util.EventListener> EventDispatcher<T> create(java.lang.Class<T> listenerClass, java.util.Map<java.lang.String,java.lang.Object> methodReturnValues)
public static java.lang.Object handleObjectMethod(java.lang.Object proxy, java.lang.Object[] args, java.lang.String methodName)
public T getMulticaster()
public void addListener(T listener)
public void addListener(T listener, Disposable parentDisposable)
public void removeListener(T listener)
public boolean hasListeners()
public java.util.List<T> getListeners()
public void neuterMultiCasterWhilePerformanceTestIsRunningUntil(Disposable disposable)