Class ActionsBuilderImpl
java.lang.Object
ch.tocco.nice2.netui.impl.actions.ActionsBuilderImpl
- All Implemented Interfaces:
ActionsBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.netui.api.actions.ActionsBuilder
ActionsBuilder.NiceGroup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAction
(String id) createGroup
(String id) Creates a new action definition.newActionGroup
(String id, String groupName) Creates a new action group without any child actions.newActionGroup
(String id, String groupName, ActionModel... actions) Creates a new action group with the specified array as its child actions.newActionGroup
(String id, String groupName, Collection<ActionModel> actions) Creates a new action group with the specified collection as its child actions.Creates a new separator.
-
Constructor Details
-
ActionsBuilderImpl
-
-
Method Details
-
createAction
- Specified by:
createAction
in interfaceActionsBuilder
-
createGroup
- Specified by:
createGroup
in interfaceActionsBuilder
-
newActionGroup
Description copied from interface:ActionsBuilder
Creates a new action group without any child actions.- Specified by:
newActionGroup
in interfaceActionsBuilder
-
newActionGroup
public ActionGroupModel newActionGroup(String id, String groupName, Collection<ActionModel> actions) Description copied from interface:ActionsBuilder
Creates a new action group with the specified collection as its child actions.- Specified by:
newActionGroup
in interfaceActionsBuilder
-
newActionGroup
Description copied from interface:ActionsBuilder
Creates a new action group with the specified array as its child actions.- Specified by:
newActionGroup
in interfaceActionsBuilder
-
newAction
Description copied from interface:ActionsBuilder
Creates a new action definition.- Specified by:
newAction
in interfaceActionsBuilder
-
newSeparator
Description copied from interface:ActionsBuilder
Creates a new separator.- Specified by:
newSeparator
in interfaceActionsBuilder
-
getNiceGroup
- Specified by:
getNiceGroup
in interfaceActionsBuilder
-