| java.lang.Object com.sun.midp.midlet.MIDletEventListener
MIDletEventListener | public class MIDletEventListener implements EventListener(Code) | | Listener for MIDlet related events (state changes, 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. |
MIDletEventListener | public MIDletEventListener(SecurityToken token, MIDletStateHandler theMIDletStateHandler, EventQueue theEventQueue)(Code) | | The constructor for the default event handler for LCDUI.
Parameters: token - security token that has AMS permission touse restricted MIDlet state handler methods Parameters: theMIDletStateHandler - the midlet state handler Parameters: theEventQueue - the event queue |
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 |
|
|