| |
|
| java.lang.Object org.apache.harmony.awt.wtk.NativeEventQueue
All known Subclasses: org.apache.harmony.awt.wtk.linux.LinuxEventQueue, org.apache.harmony.awt.wtk.windows.WinEventQueue,
NativeEventQueue | abstract public class NativeEventQueue (Code) | | Describes the cross-platform native event queue interface
The implementation constructor should remember thread it was
created. All other methods would be called obly from this thread,
except awake().
|
Inner Class :abstract public static class Task | |
awake | abstract public void awake()(Code) | | |
dispatchEvent | abstract public void dispatchEvent()(Code) | | Add NativeEvent to the queue
|
getJavaWindow | abstract public long getJavaWindow()(Code) | | Gets AWT system window ID.
AWT system window ID |
isEmpty | public boolean isEmpty()(Code) | | Determines whether or not the native event queue is empty.
An queue is empty if it contains no messages waiting.
true if the queue is empty; false otherwise |
performLater | abstract public void performLater(Task task)(Code) | | |
performTask | abstract public void performTask(Task task)(Code) | | |
waitEvent | abstract public boolean waitEvent()(Code) | | Blocks current thread until native event queue is not empty
or awaken from other thread by awake().
Should be called only on tread which
will process native events.
if event loop should be stopped |
|
|
|