Method Summary
void addCommand(Command cmd)
Adds a context sensitive Command to the item.
String getLabel()
Gets the label of this Item object.
int getLayout()
Gets the layout directives used for placing the item.
int getMinimumHeight()
Gets the minimum height for this Item.
int getMinimumWidth()
Gets the minimum width for this Item.
int getPreferredHeight()
Gets the preferred height of this Item.
int getPreferredWidth()
Gets the preferred width of this Item.
void notifyStateChanged()
Causes this Item's containing Form to notify the Item's ItemStateListener.
void removeCommand(Command cmd)
Removes the context sensitive command from item.
void setDefaultCommand(Command cmd)
Sets default Command for this Item.
void setItemCommandListener(ItemCommandListener l)
Sets a listener for Commands to this Item, replacing any previous ItemCommandListener.
void setLabel(String label)
Sets the label of the Item.
void setLayout(int layout)
Sets the layout directives for this item.
void setPreferredSize(int width, int height)
Sets the preferred width and height for this Item.