Example usage for Java java.awt EventQueue fields, constructors, methods, implement or subclass
The text is from its open source code.
AWTEvent | getCurrentEvent() Returns the event currently being dispatched by the EventQueue associated with the calling thread. |
long | getMostRecentEventTime() Returns the timestamp of the most recent event that had a timestamp, and that was dispatched from the EventQueue associated with the calling thread. |
AWTEvent | getNextEvent() Removes an event from the EventQueue and returns it. |
void | invokeAndWait(Runnable runnable) Causes runnable to have its run method called in the #isDispatchThread dispatch thread of Toolkit#getSystemEventQueue the system EventQueue . |
void | invokeLater(Runnable runnable) Causes runnable to have its run method called in the #isDispatchThread dispatch thread of Toolkit#getSystemEventQueue the system EventQueue . |
boolean | isDispatchThread() Returns true if the calling thread is Toolkit#getSystemEventQueue the current AWT EventQueue 's dispatch thread. |
AWTEvent | peekEvent() Returns the first event on the EventQueue without removing it. |
void | postEvent(AWTEvent theEvent) Posts a 1.1-style event to the EventQueue . |
void | push(EventQueue newEventQueue) Replaces the existing EventQueue with the specified one. |