| java.lang.Object com.sun.midp.appmanager.MIDletSelector
MIDletSelector | final class MIDletSelector implements CommandListener(Code) | | Selector provides a simple user interface to select MIDlets to run.
It extracts the list of MIDlets from the attributes in the
descriptor file and presents them to the user using the MIDlet-<n>
name and icon if any. When the user selects a MIDlet an instance
of the class indicated by MIDlet-<n> classname is created.
|
MIDletSelector | MIDletSelector(RunningMIDletSuiteInfo theSuiteInfo, Display theDisplay, Displayable theParentDisplayable, ApplicationManager theManager) throws Throwable(Code) | | Create and initialize a new Selector MIDlet.
The Display is retrieved and the list of MIDlets read
from the descriptor file.
Parameters: theSuiteInfo - information needed to display a list of MIDlets Parameters: theDisplay - the Display Parameters: theParentDisplayable - the parent's displayable Parameters: theManager - the parent application manager |
commandAction | public void commandAction(Command c, Displayable s)(Code) | | Respond to a command issued on any Screen.
The commands on list is Select and About.
Select triggers the creation of the MIDlet of the same name.
About puts up the copyright notice.
Parameters: c - command activated by the user Parameters: s - the Displayable the command was on. |
|
|