charva.awt
public class EventQueue extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static EventQueue |
getInstance() |
AWTEvent |
getNextEvent()
This method is only called if we know that an event is available.
|
static void |
invokeLater(java.lang.Runnable runnable_)
Causes the runnable's run() method to be called in the
AWT dispatch thread.
|
void |
postEvent(AWTEvent evt_) |
boolean |
queuesAreEmpty()
Returns true if both the high-priority queue and the low-priority
queue are empty.
|
AWTEvent |
waitForNextEvent()
Block until an event is available, then return the event.
|
public static EventQueue getInstance()
public void postEvent(AWTEvent evt_)
public AWTEvent waitForNextEvent()
public AWTEvent getNextEvent()
public static void invokeLater(java.lang.Runnable runnable_)
public boolean queuesAreEmpty()