public final class PrismInvoker extends Invoker
| Constructor and Description |
|---|
PrismInvoker() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkEventThread()
Throws
IllegalStateException if the current thread is not
the event thread. |
void |
invokeOnEventThread(java.lang.Runnable r) |
(package private) static void |
invokeOnRenderThread(java.lang.Runnable r) |
protected boolean |
isEventThread() |
private static boolean |
isEventThreadPrivate() |
protected boolean |
lock(java.util.concurrent.locks.ReentrantLock lock) |
void |
postOnEventThread(java.lang.Runnable r) |
(package private) static void |
runOnRenderThread(java.lang.Runnable r) |
protected boolean |
unlock(java.util.concurrent.locks.ReentrantLock lock) |
getInvoker, setInvokerprotected boolean lock(java.util.concurrent.locks.ReentrantLock lock)
protected boolean unlock(java.util.concurrent.locks.ReentrantLock lock)
protected boolean isEventThread()
isEventThread in class Invokerprivate static boolean isEventThreadPrivate()
public void checkEventThread()
InvokerIllegalStateException if the current thread is not
the event thread.checkEventThread in class Invokerpublic void invokeOnEventThread(java.lang.Runnable r)
invokeOnEventThread in class Invokerpublic void postOnEventThread(java.lang.Runnable r)
postOnEventThread in class Invokerstatic void invokeOnRenderThread(java.lang.Runnable r)
static void runOnRenderThread(java.lang.Runnable r)