EventDispatcher objects, which can dispatch
an Event. The event is dispatched by passing it from one
EventDispatcher to the next in the chain until the end of chain is
reached. Each EventDispatcher in the chain can influence the event
path and the event itself. The chain is usually formed by following some
parent - child hierarchy from the root to the event target and appending
all EventDispatcher objects encountered to the chain.
| Modifier and Type | Method and Description |
|---|---|
| public EventDispatchChain | Returns: the chain with the appended event dispatcherthe eventDispatcher)EventDispatcher to append to the
chainAppends the specified |
| public Event | Returns: the processed event ornull if the event had been fully
handled / consumedthe event to dispatch event)Dispatches the specified event through this |
| public EventDispatchChain | Returns: the chain with the prepended event dispatcherthe eventDispatcher)EventDispatcher to prepend to the
chainPrepends the specified |
| append | back to summary |
|---|---|
| public EventDispatchChain append(EventDispatcher eventDispatcher) Appends the specified
The caller shouldn't assume that this
So the call should be always done in the following form:
| |
| dispatchEvent | back to summary |
|---|---|
| public Event dispatchEvent(Event event) Dispatches the specified event through this | |
| prepend | back to summary |
|---|---|
| public EventDispatchChain prepend(EventDispatcher eventDispatcher) Prepends the specified
The caller shouldn't assume that this
So the call should be always done in the following form:
| |