public interface ToolbarMenu
Modifier and Type | Method and Description |
---|---|
ToolbarMenuGroup |
addGroup()
Creates a new instance of a group and adds it directly in this menu button.
|
ToolbarMenuGroup |
addGroup(String aLabel)
Creates a new instance of a group with label,
and adds it directly in this menu button.
|
ToolbarMenuGroup |
addGroup(UserMessage aLabel)
Creates a new instance of a group with label,
and adds it directly in this menu button.
|
void |
addServiceGroup(ServiceGroupKey aGroupKey)
Sets the key of the group of service to be displayed.
|
void |
addServiceGroup(ServiceGroupKey aGroupKey,
boolean isSmartFiltering)
Sets the key of the group of service to be displayed.
|
void |
addServiceGroup(ServiceGroupKey aGroupKey,
List<ServiceKey> excludedService,
boolean isSmartFiltering)
Sets the key of the group of service to be displayed.
|
ToolbarMenuGroup addGroup()
ToolbarMenuGroup addGroup(UserMessage aLabel)
ToolbarMenuGroup addGroup(String aLabel)
void addServiceGroup(ServiceGroupKey aGroupKey)
aGroupKey
- the key of the group of service to be displayed.void addServiceGroup(ServiceGroupKey aGroupKey, boolean isSmartFiltering)
aGroupKey
- the key of the group of service to be displayed.isSmartFiltering
- if true, all actions that are displayed in
an action button in the toolbar will be removed from this group.void addServiceGroup(ServiceGroupKey aGroupKey, List<ServiceKey> excludedService, boolean isSmartFiltering)
aGroupKey
- the key of the group of service to be displayed.excludedService
- list of service keys to exclude from this group.isSmartFiltering
- if true, all actions that are displayed in
an action button in the toolbar will be removed from this group.