English | Site Directory

Android - An Open Handset Alliance Project

android.awt
public class

android.awt.AndroidNativeEventQueue

java.lang.Object
org.apache.harmony.awt.wtk.NativeEventQueue
android.awt.AndroidNativeEventQueue

Summary

Public Constructors

          AndroidNativeEventQueue()

Public Methods

        void  awake()
        void  dispatchEvent()
Add NativeEvent to the queue
        long  getJavaWindow()
Gets AWT system window ID.
        void  performLater(Task task)
        void  performTask(Task task)
        boolean  waitEvent()
Blocks current thread until native event queue is not empty or awaken from other thread by awake().
Methods inherited from class org.apache.harmony.awt.wtk.NativeEventQueue
Methods inherited from class java.lang.Object

Details

Public Constructors

public AndroidNativeEventQueue()

Public Methods

public void awake()

public void dispatchEvent()

Add NativeEvent to the queue

public long getJavaWindow()

Gets AWT system window ID.

public void performLater(Task task)

public void performTask(Task task)

public boolean waitEvent()

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.

Build m5-rc15i - 10 Jun 2008 13:54