public class FxApplicationThreadDispatcher extends AbstractUIThreadDispatcher
SwingUtilities.invokeLater(Runnable)AbstractUIThreadDispatcher.NestedDispatchStrategy| Constructor and Description |
|---|
FxApplicationThreadDispatcher(AbstractUIThreadDispatcher.NestedDispatchStrategy nestedDispatchStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes all resources (for example, threads) used by this dispatcher.
|
protected boolean |
isUIThread() |
protected void |
runLaterOnUIThread(Runnable runnable) |
dispatch, getNestedDispatchStrategygetNestedDispatchCount, processEvent, processQueue, queueEventprocessEventThroughFilterAndHandler, processUncheckedException, processUndeliveredEventpublic FxApplicationThreadDispatcher(AbstractUIThreadDispatcher.NestedDispatchStrategy nestedDispatchStrategy)
public void dispose()
DispatcherAfter calling this method, the dispatcher may no longer be used.
Dispatcher.dispose()protected boolean isUIThread()
isUIThread in class AbstractUIThreadDispatcherAbstractUIThreadDispatcher.isUIThread()protected void runLaterOnUIThread(Runnable runnable)
runLaterOnUIThread in class AbstractUIThreadDispatcherAbstractUIThreadDispatcher.runLaterOnUIThread(Runnable)Copyright © 2017. All rights reserved.