public interface Handler
| Modifier and Type | Method and Description |
|---|---|
boolean |
dispatch(Object event)
Dispatches the given event.
|
void |
register(Object target)
Registers a target with a strong reference.
|
void |
registerWeak(Object target)
Registers a target with a weak reference.
|
void |
unregister(Object target)
Deregisters a target.
|
boolean dispatch(Object event)
event - the event to dispatchtrue if the event was dispatched, or false if no target was availablevoid register(Object target)
target - the targetvoid registerWeak(Object target)
target - the targetvoid unregister(Object target)
target - the targetCopyright © 2013. All Rights Reserved.