Interface Label


  • @ConsumerType
    public interface Label
    Interface for a label
    Since:
    com.adobe.cq.forms.core.components.models.form 0.0.1
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default @Nullable java.lang.String getValue()
      Returns the value of this label.
      default boolean isRichText()
      Returns true if label is rich text, otherwise false.
      default boolean isVisible()
      Returns true if label should be visible, otherwise false.
    • Method Detail

      • isRichText

        default boolean isRichText()
        Returns true if label is rich text, otherwise false.
        Returns:
        true if label is rich text, otherwise false
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1
      • isVisible

        default boolean isVisible()
        Returns true if label should be visible, otherwise false.
        Returns:
        true if label should be visible, otherwise false
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1
      • getValue

        @Nullable
        default @Nullable java.lang.String getValue()
        Returns the value of this label.
        Returns:
        the value of this label
        Since:
        com.adobe.cq.forms.core.components.models.form 0.0.1