public class FXThreadSynchronizeImpl
extends java.lang.Object
ThreadSynchronize implementation who synchronizes everything to the
JavaFX UI-Thread| Constructor and Description |
|---|
FXThreadSynchronizeImpl() |
| Modifier and Type | Method and Description |
|---|---|
<V> java.util.concurrent.Future<V> |
asyncExec(java.util.concurrent.Callable<V> callable) |
void |
asyncExec(java.lang.Runnable runnable) |
<T> T |
block(<any> blockCondition) |
boolean |
isCurrent() |
<T> java.util.concurrent.CompletableFuture<T> |
scheduleExecution(long delay,
java.util.concurrent.Callable<T> runnable) |
Subscription |
scheduleExecution(long delay,
java.lang.Runnable runnable) |
<V> V |
syncExec(java.util.concurrent.Callable<V> callable,
V defaultValue) |
void |
syncExec(java.lang.Runnable runnable) |
public <V> V syncExec(java.util.concurrent.Callable<V> callable,
V defaultValue)
public void syncExec(java.lang.Runnable runnable)
public <V> java.util.concurrent.Future<V> asyncExec(java.util.concurrent.Callable<V> callable)
public void asyncExec(java.lang.Runnable runnable)
public Subscription scheduleExecution(long delay,
java.lang.Runnable runnable)
public <T> java.util.concurrent.CompletableFuture<T> scheduleExecution(long delay,
java.util.concurrent.Callable<T> runnable)
public boolean isCurrent()
public <T> T block(<any> blockCondition)