- addItem
Add a new item inside this item, thus creating a sub-menu. Command can be null,
but a caption must b
- getChildren
This will return the children of this item or null if there are none.
- getText
Gets the objects text.
- addSeparator
Adds a separator to this menu. A separator is a way to visually group items in a
menu, to make it ea
- setDescription
Analogous method to AbstractComponent#setDescription(String,ContentMode). Sets
the item's descriptio
- setEnabled
- getCommand
For the associated command.
- setStyleName
- hasChildren
Checks if the item has children (if it is a sub-menu).
- setText
Set the text of this object.
- setVisible
- isSeparator