example.chooser
Class Color

java.lang.Object
  extended by javax.microedition.midlet.MIDlet
      extended by example.chooser.Color
All Implemented Interfaces:
javax.microedition.lcdui.CommandListener

public class Color
extends javax.microedition.midlet.MIDlet
implements javax.microedition.lcdui.CommandListener

A Color chooser MIDlet.


Constructor Summary
Color()
          Construct a new Color MIDlet and initialize.
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
          Respond to a commands issued on any Screen.
 void destroyApp(boolean unconditional)
          Destroy must cleanup everything.
 void pauseApp()
          Pause
 void startApp()
          Create the ColorChooser and make it current
 
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

Color

public Color()
Construct a new Color MIDlet and initialize.

Method Detail

startApp

public void startApp()
Create the ColorChooser and make it current

Specified by:
startApp in class javax.microedition.midlet.MIDlet

pauseApp

public void pauseApp()
Pause

Specified by:
pauseApp in class javax.microedition.midlet.MIDlet

destroyApp

public void destroyApp(boolean unconditional)
Destroy must cleanup everything.

Specified by:
destroyApp in class javax.microedition.midlet.MIDlet
Parameters:
unconditional - true if must destroy

commandAction

public void commandAction(javax.microedition.lcdui.Command c,
                          javax.microedition.lcdui.Displayable s)
Respond to a commands issued on any Screen.

Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener
Parameters:
c - Command invoked
s - Displayable on which the command was invoked