javax.microedition.lcdui
Class Command

java.lang.Object
  extended by javax.microedition.lcdui.Command

public class Command
extends Object


Field Summary
static int BACK
           
static int CANCEL
           
static int EXIT
           
static int HELP
           
static int ITEM
           
static int OK
           
static int SCREEN
           
static int STOP
           
 
Constructor Summary
Command(String label, int commandType, int priority)
           
Command(String shortLabel, String longLabel, int commandType, int priority)
           
 
Method Summary
 int getCommandType()
           
 String getLabel()
           
 String getLongLabel()
           
 int getPriority()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCREEN

public static final int SCREEN
See Also:
Constant Field Values

BACK

public static final int BACK
See Also:
Constant Field Values

CANCEL

public static final int CANCEL
See Also:
Constant Field Values

OK

public static final int OK
See Also:
Constant Field Values

HELP

public static final int HELP
See Also:
Constant Field Values

STOP

public static final int STOP
See Also:
Constant Field Values

EXIT

public static final int EXIT
See Also:
Constant Field Values

ITEM

public static final int ITEM
See Also:
Constant Field Values
Constructor Detail

Command

public Command(String label,
               int commandType,
               int priority)

Command

public Command(String shortLabel,
               String longLabel,
               int commandType,
               int priority)
Method Detail

getLabel

public String getLabel()

getLongLabel

public String getLongLabel()

getCommandType

public int getCommandType()

getPriority

public int getPriority()


Copyright © 2006-2007 Jayway AB. All Rights Reserved.