Class LabelImpl

  • All Implemented Interfaces:
    Label

    public class LabelImpl
    extends java.lang.Object
    implements Label
    • Constructor Summary

      Constructors 
      Constructor Description
      LabelImpl​(Resource field, java.lang.String defaultTitle, com.day.cq.i18n.I18n i18n)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getValue()
      Returns the value of this label.
      @Nullable java.lang.Boolean isRichText()
      Returns true if label is rich text, otherwise false.
      @Nullable java.lang.Boolean isVisible()
      Returns true if label should be visible, otherwise false.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LabelImpl

        public LabelImpl​(Resource field,
                         java.lang.String defaultTitle,
                         com.day.cq.i18n.I18n i18n)
    • Method Detail

      • isRichText

        @Nullable
        public @Nullable java.lang.Boolean isRichText()
        Returns true if label is rich text, otherwise false.
        Specified by:
        isRichText in interface Label
        Returns:
        true if label is rich text, otherwise false
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1
      • isVisible

        @Nullable
        public @Nullable java.lang.Boolean isVisible()
        Returns true if label should be visible, otherwise false.
        Specified by:
        isVisible in interface Label
        Returns:
        true if label should be visible, otherwise false
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1
      • getValue

        public java.lang.String getValue()
        Returns the value of this label.
        Specified by:
        getValue in interface Label
        Returns:
        the value of this label
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1