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

public class DisplayImpl extends AbstractComponent implements Display
  • Constructor Details

    • DisplayImpl

      public DisplayImpl()
  • Method Details

    • getExpression

      public String getExpression()
      Specified by:
      getExpression in interface Display
    • setExpression

      public void setExpression(String expression)
    • getLanguage

      public String getLanguage()
      Specified by:
      getLanguage in interface Display
    • setLanguage

      public void setLanguage(String language)
    • isEscapeHtml

      public boolean isEscapeHtml()
      Specified by:
      isEscapeHtml in interface Display
    • setEscapeHtml

      public void setEscapeHtml(boolean escapeHtml)
    • isCompressible

      public Boolean isCompressible()
      Specified by:
      isCompressible in interface Display
    • setCompressible

      public void setCompressible(Boolean compressible)
    • getDefaultLabel

      public String getDefaultLabel(Form form, TextResources textResources)
      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 interface DataComponent
    • accept

      public void accept(ComponentVisitor visitor)
      Description copied from interface: Component
      Implement method (and add new method to ComponentVisitor), if during traversing the form something should happen with this specific component type
      Specified by:
      accept in interface Component