| java.lang.Object com.sun.midp.lcdui.GCIEventListener
GCIEventListener | class GCIEventListener implements GCIKeyEventListener,GCIPointerEventListener(Code) | | |
Constructor Summary | |
| GCIEventListener(EventQueue eventQueue) The constructor for the GCIEventListener that
gets key and pointer events from GCI,
does translate to LCDUI input events and posts them to
LCDUI event queue. |
Method Summary | |
public boolean | keyEventReceived(GCIKeyEvent event) Called when GCIKeyEvent is received. | public boolean | pointerEventReceived(GCIPointerEvent event) Called when GCIPointerEvent is received. |
GCIEventListener | GCIEventListener(EventQueue eventQueue)(Code) | | The constructor for the GCIEventListener that
gets key and pointer events from GCI,
does translate to LCDUI input events and posts them to
LCDUI event queue.
Parameters: eventQueue - the event queue |
keyEventReceived | public boolean keyEventReceived(GCIKeyEvent event)(Code) | | Called when GCIKeyEvent is received. It will translate
the event into a corresponding MIDP NativeEvent and post
it to the event queue.
Parameters: event - instance of GCIKeyEvent |
pointerEventReceived | public boolean pointerEventReceived(GCIPointerEvent event)(Code) | | Called when GCIPointerEvent is received. It will translate
the event into a corresponding MIDP NativeEvent and post
it to the event queue.
Parameters: event - instance of GCIPointerEvent |
|
|