Interface ComponentContainer
- All Superinterfaces:
Cloneable
,Component
,CompositeComponent
- All Known Implementing Classes:
AbstractComponentContainer
,ColumnImpl
,FieldSetImpl
A container for fields.
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
Component.Configuration
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
getDefaultLabel
(Form form, TextResources textResources) Return the default label for this component.- `yes`, the label will be displayed.boolean
isHidden()
If `true`, the column will not be displayed.boolean
If `true`, the field will not be copied in the frontend copy actionboolean
If `true`, the component will be read only.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
-
Method Details
-
isReadonly
boolean isReadonly()If `true`, the component will be read only. -
isHidden
boolean isHidden()If `true`, the column will not be displayed. -
getUseLabel
UseLabel getUseLabel()- `yes`, the label will be displayed. - `no`, no label will be displayed (but space for label is kept intact - `hide`, the label area is hidden -
getDefaultLabel
Return the default label for this component. This will be used when no label is specified explicitly in the form. -
isIgnoreCopy
boolean isIgnoreCopy()If `true`, the field will not be copied in the frontend copy action
-