public final class InvokeLaterDispatcher extends Thread
Modifier and Type | Class and Description |
---|---|
static interface |
InvokeLaterDispatcher.InvokeLaterSubmitter
An InvokeLaterDispatcher client implements this interface to allow
the dispatcher to submit runnables to the native system.
|
Thread.State, Thread.UncaughtExceptionHandler
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Constructor and Description |
---|
InvokeLaterDispatcher(InvokeLaterDispatcher.InvokeLaterSubmitter invokeLaterSubmitter) |
Modifier and Type | Method and Description |
---|---|
void |
invokeAndWait(Runnable runnable) |
void |
invokeLater(Runnable command)
Schedules execution of a runnable on the event thread.
|
void |
notifyEnteringNestedEventLoop()
Notifies that a nested event loop is going to be entered.
|
void |
notifyLeavingNestedEventLoop()
Notifies that the application is leaving a nested event loop.
|
void |
notifyLeftNestedEventLoop()
Notifies that the application has left a nested event loop.
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public InvokeLaterDispatcher(InvokeLaterDispatcher.InvokeLaterSubmitter invokeLaterSubmitter)
public void invokeAndWait(Runnable runnable)
public void invokeLater(Runnable command)
Application.invokeLater(Runnable)
public void notifyEnteringNestedEventLoop()
public void notifyLeavingNestedEventLoop()
public void notifyLeftNestedEventLoop()
Copyright © 2020. All rights reserved.