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 Component
Component.Configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()@Nullable BaseActionReturns the default action of the action group.getIcon()The icon which should be displayed before the label.voidsetDefaultAction(BaseAction defaultAction) voidMethods inherited from class AbstractCompositeComponent
accept, addComponent, addScope, addScopes, findById, getChildren, getScopes, hasChildren, indexOf, insertComponent, parseScopes, removeComponent, removeScope, removeScopes, replaceComponent, validateMethods inherited from class AbstractComponent
getDefaultFormLabel, getId, getLabel, getParent, getPosition, setId, setLabel, setParent, setPositionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
accept, getForm, getId, getLabel, getParent, getPosition, validateMethods inherited from interface CompositeComponent
findById, getChildren, getScopes, hasChildren
-
Constructor Details
-
ActionGroupImpl
public ActionGroupImpl()
-
-
Method Details
-
getDefaultAction
Description copied from interface:ActionGroupReturns 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:
getDefaultActionin interfaceActionGroup
-
setDefaultAction
-
getIcon
Description copied from interface:ActionGroupThe icon which should be displayed before the label. Represents font-awesome icon.- Specified by:
getIconin interfaceActionGroup
-
setIcon
-
clone
- Overrides:
clonein classAbstractCompositeComponent- Throws:
CloneNotSupportedException
-