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 Component
Component.Configuration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(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.booleanvoidsetCompressible(Boolean compressible) voidsetEscapeHtml(boolean escapeHtml) voidsetExpression(String expression) voidsetLanguage(String language) Methods inherited from class AbstractComponent
clone, getDefaultFormLabel, getId, getLabel, getParent, getPosition, setId, setLabel, setParent, setPosition
-
Constructor Details
-
DisplayImpl
public DisplayImpl()
-
-
Method Details
-
getExpression
- Specified by:
getExpressionin interfaceDisplay
-
setExpression
-
getLanguage
- Specified by:
getLanguagein interfaceDisplay
-
setLanguage
-
isEscapeHtml
public boolean isEscapeHtml()- Specified by:
isEscapeHtmlin interfaceDisplay
-
setEscapeHtml
public void setEscapeHtml(boolean escapeHtml) -
isCompressible
- Specified by:
isCompressiblein interfaceDisplay
-
setCompressible
-
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
-
accept
Description copied from interface:ComponentImplement method (and add new method toComponentVisitor), if during traversing the form something should happen with this specific component type
-