BenQ Mobile

Uses of Class
javax.microedition.lcdui.Command

Packages that use Command
javax.microedition.lcdui The UI API provides a set of features for implementation of user interfaces for MIDP applications.  
 

Uses of Command in javax.microedition.lcdui
 

Fields in javax.microedition.lcdui declared as Command
static Command List.SELECT_COMMAND
          The default select command for IMPLICIT Lists.
static Command Alert.DISMISCOMMAND
          A Command delivered to a listener to indicate that the Alert has been dismissed.
 

Methods in javax.microedition.lcdui with parameters of type Command
 void Spacer.addCommand(Command cmd)
          Spacers are restricted from having Commands, so this method will always throw IllegalStateException whenever it is called.
 void Spacer.setDefaultCommand(Command cmd)
          Spacers are restricted from having Commands, so this method will always throw IllegalStateException whenever it is called.
 void List.removeCommand(Command cmd)
          The same as Displayable.removeCommand but with the following additional semantics.
 void List.setSelectCommand(Command command)
          Sets the Command to be used for an IMPLICIT List selection action.
 void ItemCommandListener.commandAction(Command c, Item item)
          Called by the system to indicate that a command has been invoked on a particular item.
 void Item.addCommand(Command cmd)
          Adds a context sensitive Command to the item.
 void Item.removeCommand(Command cmd)
          Removes the context sensitive command from item.
 void Item.setDefaultCommand(Command cmd)
          Sets default Command for this Item.
 void Displayable.addCommand(Command cmd)
          Adds a command to the Displayable.
 void Displayable.removeCommand(Command cmd)
          Removes a command from the Displayable.
 void CommandListener.commandAction(Command c, Displayable d)
          Indicates that a command event has occurred on Screen s.
 void Alert.addCommand(Command cmd)
          Similar to Displayable.addCommand(javax.microedition.lcdui.Command), however when the application first adds a command to an Alert, Alert.DISMISCOMMAND is implicitly removed.
 void Alert.removeCommand(Command cmd)
          Similar to Displayable.removeCommand(javax.microedition.lcdui.Command), however when the application removes the last command from an Alert, Alert.DISMISCOMMAND is implicitly added.
 


BenQ Mobile

Copyright © 2006 BenQ Mobile GmbH & Co. OHG or respective copyright owner.
All Rights Reserved.
BenQ Corp. is a trademark licensee of Siemens AG.


For further information about Mobility Toolkit (MTK) visit our Developer Portal.