Class ActionGroupImpl
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
ch.tocco.nice2.model.form.impl.form2.components.AbstractCompositeComponent
ch.tocco.nice2.model.form.impl.form2.components.ActionGroupImpl
- All Implemented Interfaces:
ActionGroup
,Component
,CompositeComponent
,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
Component.Configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
@Nullable BaseAction
Returns the default action of the action group.getIcon()
The icon which should be displayed before the label.void
setDefaultAction
(BaseAction defaultAction) void
Methods inherited from class ch.tocco.nice2.model.form.impl.form2.components.AbstractCompositeComponent
accept, addComponent, addScope, addScopes, findById, getChildren, getScopes, hasChildren, indexOf, insertComponent, parseScopes, removeComponent, removeScope, removeScopes, replaceComponent, validate
Methods inherited from class ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
getDefaultFormLabel, getId, getLabel, getParent, getPosition, setId, setLabel, setParent, setPosition
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
accept, getForm, getId, getLabel, getParent, getPosition, validate
Methods inherited from interface ch.tocco.nice2.model.form.api.form2.components.CompositeComponent
findById, getChildren, getScopes, hasChildren
-
Constructor Details
-
ActionGroupImpl
public ActionGroupImpl()
-
-
Method Details
-
getDefaultAction
Description copied from interface:ActionGroup
Returns the default action of the action group. A default action will be displayed as main action in a split button. If no default action is defined, a dropdown will be displayed.- Specified by:
getDefaultAction
in interfaceActionGroup
-
setDefaultAction
-
getIcon
Description copied from interface:ActionGroup
The icon which should be displayed before the label. Represents font-awesome icon.- Specified by:
getIcon
in interfaceActionGroup
-
setIcon
-
clone
- Overrides:
clone
in classAbstractCompositeComponent
- Throws:
CloneNotSupportedException
-