public abstract class AbstractUIThreadDispatcher extends AbstractSerialDispatcher
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractUIThreadDispatcher.NestedDispatchStrategy |
| Constructor and Description |
|---|
AbstractUIThreadDispatcher(AbstractUIThreadDispatcher.NestedDispatchStrategy nestedDispatchStrategy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch(Event<Object> event,
Map<EventHandler<Object>,EventFilter<Object>> eventHandlers,
Collection<EventHandler<Object>> undeliveredEventHandlers,
Collection<ExceptionHandler> exceptionHandlers)
Dispatches the specified event to the specified event filters and handlers.
|
AbstractUIThreadDispatcher.NestedDispatchStrategy |
getNestedDispatchStrategy() |
protected abstract boolean |
isUIThread() |
protected abstract void |
runLaterOnUIThread(Runnable runnable) |
getNestedDispatchCount, processEvent, processQueue, queueEventprocessEventThroughFilterAndHandler, processUncheckedException, processUndeliveredEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisposepublic AbstractUIThreadDispatcher(AbstractUIThreadDispatcher.NestedDispatchStrategy nestedDispatchStrategy)
nestedDispatchStrategy - Strategy to dispatch events while an event is already being dispatched.public AbstractUIThreadDispatcher.NestedDispatchStrategy getNestedDispatchStrategy()
public void dispatch(Event<Object> event, Map<EventHandler<Object>,EventFilter<Object>> eventHandlers, Collection<EventHandler<Object>> undeliveredEventHandlers, Collection<ExceptionHandler> exceptionHandlers)
Dispatcherevent - Event to be dispatched.eventHandlers - Event handlers that are candidates for receiving the event.undeliveredEventHandlers - Evant handlers that should process undelivered events.exceptionHandlers - Exception handlers to be used in case an exception is thrown during the
dispatching or processing of the event.protected abstract boolean isUIThread()
protected abstract void runLaterOnUIThread(Runnable runnable)
Copyright © 2017. All rights reserved.