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.Configuration
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Description
Description.Mode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetDefaultLabel
(Form form, TextResources textResources) Return the default label for this component.getMode()
getText()
getTitle()
void
setMode
(Description.Mode mode) void
void
toString()
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:
getTitle
in interfaceDescription
-
setTitle
-
getText
- Specified by:
getText
in interfaceDescription
-
setText
-
getMode
- Specified by:
getMode
in interfaceDescription
-
setMode
-
getDefaultLabel
Description copied from interface:DataComponent
Return the default label for this component. This will be used when no label is specified explicitly in the form.- Specified by:
getDefaultLabel
in interfaceDataComponent
-
toString
-