Interface FormTitle

  • All Superinterfaces:
    Component, com.adobe.cq.export.json.ComponentExporter, FormComponent

    @ConsumerType
    public interface FormTitle
    extends FormComponent
    Defines the form Title Sling Model used for the /apps/core/fd/components/form/title/v2/title component.
    Since:
    com.adobe.cq.forms.core.components.models.form 5.5.3
    • Field Detail

      • PN_DESIGN_DEFAULT_FORMAT

        static final java.lang.String PN_DESIGN_DEFAULT_FORMAT
        See Also:
        Constant Field Values
    • Method Detail

      • getHTMLElementType

        default java.lang.String getHTMLElementType()
        Returns the HTML element type (h1-h6) used for the markup.
        Returns:
        the element type
        Since:
        com.adobe.cq.forms.core.components.models.form 5.5.3;
      • getText

        default java.lang.String getText()
        Returns the text to be displayed as title.
        Returns:
        the title's text
      • getValue

        default java.lang.String getValue()
        Retrieves the text value to be displayed.
        Returns:
        the text value to be displayed, or null if no value can be returned
        Since:
        com.adobe.cq.forms.core.components.models.form 5.5.3;