public interface ToolbarMenuGroup
A group can either:
These options are exclusive.
Modifier and Type | Method and Description |
---|---|
ToolbarActionMenuItem |
addActionItem()
Adds a new action item to the given group with the specified label.
|
ToolbarActionMenuItem |
addActionItem(String actionLabel)
Adds a new action item to the given group with the specified label.
|
ToolbarActionMenuItem |
addActionItem(UserMessage actionLabel)
Adds a new action item to the given group with the specified label.
|
ToolbarSubMenuItem |
addSubMenu(String aLabel)
Creates a new instance of a sub-menu and adds it directly to this group.
|
ToolbarSubMenuItem |
addSubMenu(UserMessage aLabel)
Creates a new instance of a sub-menu and adds it directly to this group.
|
void |
setDescription(String aDescription)
Sets the description of this menu item.
|
void |
setDescription(UserMessage aDescription)
Sets the description of this menu item.
|
ToolbarSubMenuItem addSubMenu(UserMessage aLabel)
ToolbarSubMenuItem addSubMenu(String aLabel)
ToolbarActionMenuItem addActionItem()
ToolbarActionMenuItem addActionItem(UserMessage actionLabel)
ToolbarActionMenuItem addActionItem(String actionLabel)
void setDescription(UserMessage aDescription)
void setDescription(String aDescription)