public class EventHandler<E> extends Object
Modifier and Type | Field and Description |
---|---|
int |
id |
HasEventDispatcher |
mHasEventDispatcher |
Object[] |
params |
Modifier | Constructor and Description |
---|---|
protected |
EventHandler(HasEventDispatcher hasEventDispatcher,
int id) |
|
EventHandler(HasEventDispatcher hasEventDispatcher,
int id,
Object[] params) |
Modifier and Type | Method and Description |
---|---|
void |
dispatchEvent(E event) |
boolean |
isEquivalentTo(EventHandler other) |
public HasEventDispatcher mHasEventDispatcher
public final int id
public final Object[] params
protected EventHandler(HasEventDispatcher hasEventDispatcher, int id)
public EventHandler(HasEventDispatcher hasEventDispatcher, int id, Object[] params)
public void dispatchEvent(E event)
public boolean isEquivalentTo(EventHandler other)