Command handling

Commands are abstract operations that give mobile device user the means to interact and navigate within the application. In LCDUI, the placement of Commands added to a Displayable is completely up to the device implementation unless explicitly overridden by the application. LCDUI features a number of different Command types that define how and where the implementation places them. For example, the 'negative' (BACK, CANCEL, EXIT) Command is commonly mapped to the left softkey.

In other words, when you design user interfaces consisting only of high-level APIs and Commands, the platform handles the construction of all option menus and the collection of user input as long as the MIDlet implements the correct requirements.

For more information about Command implementation, see section Command.

For more information about high-level command handling and the classes, methods and interfaces involved, see Command class specification.