public class JavaFXDispatcher extends AbstractDispatcher implements Dispatch
AbstractDispatcher.asyncDispatchInEDT(Request)
will use the JavaFX application thread,
not the Swing EDT.AbstractDispatcher.DispatchRunnable<T>
Constructor and Description |
---|
JavaFXDispatcher()
Create a (stateless) dispatcher.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doDispatch(Runnable pRunnable)
The callback method to switch to the "right" UI thread.
|
asyncDispatch, asyncDispatchInEDT, syncDispatch, syncExecute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asyncDispatch, asyncDispatchInEDT, syncDispatch, syncExecute
protected void doDispatch(Runnable pRunnable)
doDispatch
in class AbstractDispatcher
pRunnable
- the runnable containing the result, must not be nullCopyright © 2017 Jürgen Zeller (privat). All rights reserved.