|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.microedition.lcdui.Command
The command class is used to setup soft buttons
| Field Summary | |
static int |
BACK
Return to the previous screen |
static int |
CANCEL
Cancel the current screen |
static int |
EXIT
Exit the application |
static int |
HELP
Ask for help |
static int |
ITEM
Item specific command |
static int |
OK
|
static int |
SCREEN
A screen specific command |
static int |
STOP
Stop the current action |
| Constructor Summary | |
Command(java.lang.String label,
int type,
int priority)
Create a new command |
|
| Method Summary | |
int |
getCommandType()
Get the type |
java.lang.String |
getLabel()
Get the label |
int |
getPriority()
Get the priority |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int BACK
public static final int CANCEL
public static final int EXIT
public static final int HELP
public static final int ITEM
public static final int OK
public static final int SCREEN
public static final int STOP
| Constructor Detail |
public Command(java.lang.String label,
int type,
int priority)
label - The labeltype - The typepriority - | Method Detail |
public int getCommandType()
public java.lang.String getLabel()
public int getPriority()
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||