stringitem
Class StringItemDemo
java.lang.Object
javax.microedition.midlet.MIDlet
stringitem.StringItemDemo
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener, javax.microedition.lcdui.ItemCommandListener
public class StringItemDemo
- extends javax.microedition.midlet.MIDlet
- implements javax.microedition.lcdui.CommandListener, javax.microedition.lcdui.ItemCommandListener
This is the main class for the UI MIDP demo. This demo of the components
available in the UI is designed for simplicity. Each UI element is
demonstrated within a class of its own derived from either BaseDemo
or BaseListDemo.
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Item item)
|
protected void |
destroyApp(boolean unconditional)
Signals the MIDlet to terminate and enter the Destroyed state. |
protected void |
pauseApp()
Signals the MIDlet to stop and enter the Paused state. |
protected void |
startApp()
Signals the MIDlet to start and enter the Active state. |
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 |
StringItemDemo
public StringItemDemo()
startApp
protected void startApp()
- Signals the MIDlet to start and enter the Active state.
- Specified by:
startApp
in class javax.microedition.midlet.MIDlet
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Item item)
- Specified by:
commandAction
in interface javax.microedition.lcdui.ItemCommandListener
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
- Specified by:
commandAction
in interface javax.microedition.lcdui.CommandListener
destroyApp
protected void destroyApp(boolean unconditional)
- Signals the MIDlet to terminate and enter the Destroyed state.
- Specified by:
destroyApp
in class javax.microedition.midlet.MIDlet
pauseApp
protected void pauseApp()
- Signals the MIDlet to stop and enter the Paused state.
- Specified by:
pauseApp
in class javax.microedition.midlet.MIDlet