|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectEventQueueX
public final class EventQueueX
EventQueue utilities.
Method Summary | |
---|---|
static void |
invokeNowOrLater(Runnable runnable)
Invokes the runnable now, if called from the dispatch thread; otherwise schedules it to be invoked in a later dispatch thread. |
static void |
invokeNowOrWait(Runnable runnable)
Invokes the runnable now, if called from the dispatch thread; otherwise waits for a dispatch thread. |
static void |
tryInvokeAndWait(Runnable runnable)
A version of invokeAndWait() that throws only unchecked exceptions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void invokeNowOrLater(Runnable runnable)
public static void invokeNowOrWait(Runnable runnable)
AssertionError
- if assertions are enabled, and an InterruptedException occurs
RuntimeException
- if an InvocationTargetException occurspublic static void tryInvokeAndWait(Runnable runnable)
RuntimeException
- nesting any InterruptedException
or InvocationTargetException that occurs
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |