example.pim
Class ListSelectionScreen

java.lang.Object
  extended by javax.microedition.lcdui.Displayable
      extended by javax.microedition.lcdui.Screen
          extended by javax.microedition.lcdui.List
              extended by example.pim.ListSelectionScreen
All Implemented Interfaces:
java.lang.Runnable, javax.microedition.lcdui.Choice, javax.microedition.lcdui.CommandListener

public class ListSelectionScreen
extends javax.microedition.lcdui.List
implements javax.microedition.lcdui.CommandListener, java.lang.Runnable

Demonstrate the use of JSR 75 PIM APIs


Field Summary
 
Fields inherited from class javax.microedition.lcdui.List
SELECT_COMMAND
 
Fields inherited from interface javax.microedition.lcdui.Choice
EXCLUSIVE, IMPLICIT, MULTIPLE, POPUP, TEXT_WRAP_DEFAULT, TEXT_WRAP_OFF, TEXT_WRAP_ON
 
Constructor Summary
ListSelectionScreen(PIMDemo midlet, javax.microedition.lcdui.Displayable caller, int listType)
           
 
Method Summary
 void commandAction(javax.microedition.lcdui.Command command, javax.microedition.lcdui.Displayable displayable)
           
 void run()
           
 
Methods inherited from class javax.microedition.lcdui.List
append, delete, deleteAll, getFitPolicy, getFont, getImage, getSelectedFlags, getSelectedIndex, getString, insert, isSelected, removeCommand, set, setFitPolicy, setFont, setSelectCommand, setSelectedFlags, setSelectedIndex, setTicker, setTitle, size
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, getHeight, getTicker, getTitle, getWidth, isShown, setCommandListener, sizeChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSelectionScreen

public ListSelectionScreen(PIMDemo midlet,
                           javax.microedition.lcdui.Displayable caller,
                           int listType)
Method Detail

commandAction

public void commandAction(javax.microedition.lcdui.Command command,
                          javax.microedition.lcdui.Displayable displayable)
Specified by:
commandAction in interface javax.microedition.lcdui.CommandListener

run

public void run()
Specified by:
run in interface java.lang.Runnable