public class DefaultUIThreadManager extends AbstractUIThreadManager
ERROR_CALLABLE_NULL, ERROR_RUNNABLE_NULL
Constructor and Description |
---|
DefaultUIThreadManager() |
Modifier and Type | Method and Description |
---|---|
boolean |
isUIThread()
True if the current thread is the UI thread.
|
void |
runInsideUIAsync(java.lang.Runnable runnable)
Executes a code block asynchronously on the UI thread.
|
void |
runInsideUISync(java.lang.Runnable runnable)
Executes a code block synchronously on the UI thread.
|
getExceptionHandler, getExecutorService, getExecutorServiceManager, runFuture, runFuture, runInsideUISync, runOutsideUI, runOutsideUIAsync, setExecutorServiceManager
public boolean isUIThread()
ThreadingHandler
public void runInsideUIAsync(@Nonnull java.lang.Runnable runnable)
ThreadingHandler
public void runInsideUISync(@Nonnull java.lang.Runnable runnable)
ThreadingHandler