Class FormImpl
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.FormImpl
- All Implemented Interfaces:
Component,CompositeComponent,Form,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
Component.Configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()@Nullable StringgetType()booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAppendDefaultActions(boolean appendDefaultActions) voidsetAppendMassMutationActions(boolean appendMassMutationActions) voidsetCreateEndpoint(String createEndpoint) voidsetEntityModel(EntityModel entityModel) voidsetHasCopyAction(boolean hasCopyAction) voidsetHasExportAction(boolean hasExportAction) voidsetHasGenericActions(boolean hasGenericActions) voidsetHasGenericLabelAction(boolean hasGenericLabelAction) voidsetHasImportAction(boolean hasImportAction) voidsetHasMergeAction(boolean hasMergeAction) voidsetHasOutputJobAction(boolean hasOutputJobAction) voidsetHasPreferencesMenu(boolean hasPreferencesMenu) voidsetHasStickyActionBar(boolean hasStickyActionBar) voidsetMarkable(boolean markable) voidsetReadonly(boolean readOnly) voidsetReplaced(boolean replaced) voidsetShowTooltips(boolean showTooltips) voidtoString()voidvalidate()Will be called when the form has been built completely.Methods inherited from class ch.tocco.nice2.model.form.impl.form2.components.AbstractCompositeComponent
accept, addComponent, addScope, addScopes, clone, findById, getChildren, getScopes, hasChildren, indexOf, insertComponent, parseScopes, removeComponent, removeScope, removeScopes, replaceComponentMethods inherited from class ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
getDefaultFormLabel, getId, getLabel, getParent, getPosition, setId, setLabel, setParent, setPositionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
accept, getForm, getId, getLabel, getParent, getPositionMethods inherited from interface ch.tocco.nice2.model.form.api.form2.components.CompositeComponent
findById, getChildren, getScopes, hasChildren
-
Constructor Details
-
FormImpl
public FormImpl()
-
-
Method Details
-
getEntityModel
- Specified by:
getEntityModelin interfaceForm- Returns:
- the base entity model
-
setEntityModel
-
toString
-
isReplaced
public boolean isReplaced() -
setReplaced
public void setReplaced(boolean replaced) -
isReadonly
public boolean isReadonly()- Specified by:
isReadonlyin interfaceForm
-
setReadonly
public void setReadonly(boolean readOnly) -
isAppendDefaultActions
public boolean isAppendDefaultActions() -
setAppendDefaultActions
public void setAppendDefaultActions(boolean appendDefaultActions) -
isAppendMassMutationActions
public boolean isAppendMassMutationActions() -
setAppendMassMutationActions
public void setAppendMassMutationActions(boolean appendMassMutationActions) -
hasOutputJobAction
public boolean hasOutputJobAction() -
setHasOutputJobAction
public void setHasOutputJobAction(boolean hasOutputJobAction) -
hasMergeAction
public boolean hasMergeAction() -
setHasMergeAction
public void setHasMergeAction(boolean hasMergeAction) -
hasGenericLabelAction
public boolean hasGenericLabelAction() -
setHasGenericLabelAction
public void setHasGenericLabelAction(boolean hasGenericLabelAction) -
hasStickyActionBar
public boolean hasStickyActionBar() -
setHasStickyActionBar
public void setHasStickyActionBar(boolean hasStickyActionBar) -
hasCopyAction
public boolean hasCopyAction() -
setHasCopyAction
public void setHasCopyAction(boolean hasCopyAction) -
hasImportAction
public boolean hasImportAction() -
setHasImportAction
public void setHasImportAction(boolean hasImportAction) -
hasExportAction
public boolean hasExportAction() -
setHasExportAction
public void setHasExportAction(boolean hasExportAction) -
isMarkable
public boolean isMarkable()- Specified by:
isMarkablein interfaceForm
-
setMarkable
public void setMarkable(boolean markable) -
hasPreferencesMenu
public boolean hasPreferencesMenu()- Specified by:
hasPreferencesMenuin interfaceForm
-
setHasPreferencesMenu
public void setHasPreferencesMenu(boolean hasPreferencesMenu) -
hasGenericActions
public boolean hasGenericActions() -
setHasGenericActions
public void setHasGenericActions(boolean hasGenericActions) -
isShowTooltips
public boolean isShowTooltips()- Specified by:
isShowTooltipsin interfaceForm
-
setShowTooltips
public void setShowTooltips(boolean showTooltips) -
getCreateEndpoint
- Specified by:
getCreateEndpointin interfaceForm
-
setCreateEndpoint
-
getType
-
setType
-
clear
public void clear() -
getFormScope
- Specified by:
getFormScopein interfaceForm
-
validate
Description copied from interface:ComponentWill be called when the form has been built completely. Can be used to validate values (and throwModelBuildException) or the fill in default value.- Specified by:
validatein interfaceComponent- Overrides:
validatein classAbstractCompositeComponent- Throws:
ModelBuildException
-