|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
example.PropExample
public class PropExample
An example MIDlet shows the values of the system properties. Refer to the startApp, pauseApp, and destroyApp methods so see how it handles each requested transition.
Constructor Summary | |
---|---|
PropExample()
|
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
|
void |
destroyApp(boolean unconditional)
Destroy must cleanup everything. |
void |
pauseApp()
Time to pause, free any space we don't need right now. |
(package private) java.lang.String |
showProp(java.lang.String prop)
Show a property. |
void |
startApp()
Show the value of the properties |
Methods inherited from class javax.microedition.midlet.MIDlet |
---|
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropExample()
Method Detail |
---|
public void startApp()
startApp
in class javax.microedition.midlet.MIDlet
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
commandAction
in interface javax.microedition.lcdui.CommandListener
java.lang.String showProp(java.lang.String prop)
public void pauseApp()
pauseApp
in class javax.microedition.midlet.MIDlet
public void destroyApp(boolean unconditional)
destroyApp
in class javax.microedition.midlet.MIDlet
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |