| java.lang.Object com.sun.midp.lcdui.ForegroundEventListener
ForegroundEventListener | public class ForegroundEventListener implements EventListener(Code) | | Listener for LCDUI events (user inputs, etc).
|
Method Summary | |
public boolean | preprocess(Event event, Event waitingEvent) Preprocess an event that is being posted to the event queue. | public void | process(Event event) Process an event. |
ForegroundEventListener | public ForegroundEventListener(EventQueue theEventQueue, DisplayContainer theDisplayContainer)(Code) | | The constructor for the foreground event handler for LCDUI.
Parameters: theEventQueue - the event queue Parameters: theDisplayContainer - container for display objects |
preprocess | public boolean preprocess(Event event, Event waitingEvent)(Code) | | Preprocess an event that is being posted to the event queue.
Parameters: event - event being posted Parameters: waitingEvent - previous event of this type waiting in thequeue to be processed true to allow the post to continue, false to not post theevent to the queue |
process | public void process(Event event)(Code) | | Process an event.
Parameters: event - event to process |
|
|