| java.lang.Object com.sun.midp.main.CommandState
CommandState | class CommandState (Code) | | Holds the state for MIDlet Suite management commands.
|
MAIN_EXIT | final static int MAIN_EXIT(Code) | | return value from Main, so we know that Main exited normally
|
OK | final static int OK(Code) | | status for success
|
SHUTDOWN | final static int SHUTDOWN(Code) | | status for shutdown
|
arg0 | String arg0(Code) | | The argument for a MIDlet in the suite, will be app property arg-0.
|
arg1 | String arg1(Code) | | The argument for a MIDlet in the suite, will be app property arg-1.
|
arg2 | String arg2(Code) | | The argument for a MIDlet in the suite, will be app property arg-2.
|
lastArg0 | String lastArg0(Code) | | The argument for a last MIDlet, will be app property arg-0.
|
lastArg1 | String lastArg1(Code) | | The argument for a last MIDlet, will be app property arg-1.
|
lastMidletClassName | String lastMidletClassName(Code) | | The MIDlet class name for the suite to load.
|
lastSuiteId | int lastSuiteId(Code) | | The ID of suite to load when there is no other queued.
|
logoDisplayed | boolean logoDisplayed(Code) | | Has the application manager MIDlet displayed the Java logo yet?
|
midletClassName | String midletClassName(Code) | | Class name of MIDlet.
|
runtimeInfo | RuntimeInfo runtimeInfo(Code) | | Structure containing the run time information about the midlet.
|
status | int status(Code) | | Status of the last command.
|
suiteId | int suiteId(Code) | | The ID given to a suite load.
|
exitInternal | native static void exitInternal(int status)(Code) | | Exit the VM with an error code. Our private version of Runtime.exit.
This is needed because the MIDP version of Runtime.exit cannot tell
if it is being called from a MIDlet or not, so it always throws an
exception.
Parameters: status - Status code to return. |
getCommandState | static CommandState getCommandState()(Code) | | Get the command state.
current command state |
save | void save()(Code) | | Save the command state.
|
toString | public String toString()(Code) | | Returns the string form of this object.
displayable string representation of this object |
|
|