Class DescriptionImpl
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
ch.tocco.nice2.model.form.impl.form2.components.DescriptionImpl
- All Implemented Interfaces:
Component,DataComponent,Description,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
Component.ConfigurationNested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Description
Description.Mode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultLabel(Form form, TextResources textResources) Return the default label for this component.getMode()getText()getTitle()voidsetMode(Description.Mode mode) voidvoidtoString()Methods inherited from class ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
clone, getDefaultFormLabel, getId, getLabel, getParent, getPosition, setId, setLabel, setParent, setPosition
-
Constructor Details
-
DescriptionImpl
public DescriptionImpl()
-
-
Method Details
-
getTitle
- Specified by:
getTitlein interfaceDescription
-
setTitle
-
getText
- Specified by:
getTextin interfaceDescription
-
setText
-
getMode
- Specified by:
getModein interfaceDescription
-
setMode
-
getDefaultLabel
Description copied from interface:DataComponentReturn the default label for this component. This will be used when no label is specified explicitly in the form.- Specified by:
getDefaultLabelin interfaceDataComponent
-
toString
-