Name

lcdui.command — Creates a command that can be attached to a screen

Synopsis

lcdui.command [ -label label ] [ -longlabel label ] [ -priority priority ] [ -type back | cancel | exit | help | item | ok | screen | stop ]

Description

The lcdui.command command creates a command that can be attached to a Screen or an Item. For an in-depth look at the Java code that this command is based on, see: javax.microedition.lcdui.Command

The options describing the choicegroup are as follows:

  • -label: A short label for the command, which should be as short as possible.

  • -longlabel: A long, more descriptive label.

  • -priority: A positive number indicating the order of appearance of commands, 1 being the highest priority.

  • -type: Indicates the type of command. The command types are documented here

Example

FIXME
	  

Produces:

yyy