|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.microedition.midlet.MIDlet | +--menu.QuitableMIDlet
This class is a kludge in order to let the PageMgr terminate the running midlet when the user requests that we Exit. The methods destroyApp and notifyDestroyed methods have protected/package access in MIDlet, and so they are not accessible to other arbitrary classes.
Constructor Summary | |
QuitableMIDlet()
|
Method Summary | |
void |
quitApp()
Call destroyApp, then notifyDestroyed, thereby shutting down this midlet. |
Methods inherited from class javax.microedition.midlet.MIDlet |
destroyApp, getAppProperty, notifyDestroyed, notifyPaused, pauseApp, resumeRequest, startApp |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuitableMIDlet()
Method Detail |
public void quitApp() throws javax.microedition.midlet.MIDletStateChangeException
javax.microedition.midlet.MIDletStateChangeException
- thrown if the MIDlet
wishes to continue to execute (Not enter the Destroyed state).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |