| java.lang.Object javax.microedition.midlet.MIDlet com.sun.midp.events.FatalMIDlet
FatalMIDlet | public class FatalMIDlet extends MIDlet implements EventListener(Code) | | Register an event listener, send an event to self, and throw a
RuntimeException while processing an event.
|
Method Summary | |
public void | destroyApp(boolean unconditional) Does nothing. | public void | pauseApp() Pause; there are no resources that need to be released. | 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. | public void | startApp() Set up. |
destroyApp | public void destroyApp(boolean unconditional)(Code) | | Does nothing.
Parameters: unconditional - is ignored |
pauseApp | public void pauseApp()(Code) | | Pause; there are no resources that need to be released.
|
preprocess | public boolean preprocess(Event event, Event waitingEvent)(Code) | | Preprocess an event that is being posted to the event queue.
This method will get called in the thread that posted the event.
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.
This method will get called in the event queue processing thread.
Parameters: event - event to process |
startApp | public void startApp()(Code) | | Set up.
|
|
|