list
Class ListDemo
java.lang.Object
javax.microedition.midlet.MIDlet
list.ListDemo
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener
public class ListDemo
- extends javax.microedition.midlet.MIDlet
- implements javax.microedition.lcdui.CommandListener
The MIDlet demonstrates the different types of list supported by MIDP-2.0:
EXCLUSIVE - a choice having exactly one element selected at time.
IMPLICIT - a choice in which the currently focused element is
selected when a Command is initiated.
MULTIPLE - a choice that can have arbitrary number of elements
selected at a time.
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
|
protected void |
destroyApp(boolean unconditional)
|
protected void |
pauseApp()
|
protected void |
startApp()
|
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 |
ListDemo
public ListDemo()
startApp
protected void startApp()
- Specified by:
startApp
in class javax.microedition.midlet.MIDlet
destroyApp
protected void destroyApp(boolean unconditional)
- Specified by:
destroyApp
in class javax.microedition.midlet.MIDlet
pauseApp
protected void pauseApp()
- Specified by:
pauseApp
in class javax.microedition.midlet.MIDlet
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
- Specified by:
commandAction
in interface javax.microedition.lcdui.CommandListener