Class DisplayImpl
java.lang.Object
ch.tocco.nice2.model.form.impl.form2.components.AbstractComponent
ch.tocco.nice2.model.form.impl.form2.components.DisplayImpl
- All Implemented Interfaces:
Component
,DataComponent
,Display
,Cloneable
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.model.form.api.form2.components.Component
Component.Configuration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ComponentVisitor visitor) Implement method (and add new method toComponentVisitor
), if during traversing the form something should happen with this specific component typegetDefaultLabel
(Form form, TextResources textResources) Return the default label for this component.boolean
void
setCompressible
(Boolean compressible) void
setEscapeHtml
(boolean escapeHtml) void
setExpression
(String expression) void
setLanguage
(String language) 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
-
DisplayImpl
public DisplayImpl()
-
-
Method Details
-
getExpression
- Specified by:
getExpression
in interfaceDisplay
-
setExpression
-
getLanguage
- Specified by:
getLanguage
in interfaceDisplay
-
setLanguage
-
isEscapeHtml
public boolean isEscapeHtml()- Specified by:
isEscapeHtml
in interfaceDisplay
-
setEscapeHtml
public void setEscapeHtml(boolean escapeHtml) -
isCompressible
- Specified by:
isCompressible
in interfaceDisplay
-
setCompressible
-
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
-
accept
Description copied from interface:Component
Implement method (and add new method toComponentVisitor
), if during traversing the form something should happen with this specific component type
-