public class DelegatingEventHandler<E> extends EventHandler<E>
dispatchInfo, id, params
Modifier | Constructor and Description |
---|---|
protected |
DelegatingEventHandler(EventHandler<E> eventHandler1,
EventHandler<E> eventHandler2) |
Modifier and Type | Method and Description |
---|---|
DelegatingEventHandler<E> |
addEventHandler(EventHandler<E> eventHandler) |
void |
dispatchEvent(E event) |
boolean |
isEquivalentTo(EventHandler other) |
call, toString
protected DelegatingEventHandler(EventHandler<E> eventHandler1, EventHandler<E> eventHandler2)
public void dispatchEvent(E event)
dispatchEvent
in class EventHandler<E>
public boolean isEquivalentTo(EventHandler other)
isEquivalentTo
in interface Equivalence<EventHandler<E>>
isEquivalentTo
in class EventHandler<E>
public DelegatingEventHandler<E> addEventHandler(EventHandler<E> eventHandler)