Interface FormTitle
-
- All Superinterfaces:
Component,com.adobe.cq.export.json.ComponentExporter,FormComponent
@ConsumerType public interface FormTitle extends FormComponent
Defines the formTitleSling Model used for the/apps/core/fd/components/form/title/v2/titlecomponent.- Since:
- com.adobe.cq.forms.core.components.models.form 5.5.3
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPN_DESIGN_DEFAULT_FORMAT-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
CUSTOM_PROPERTY_WRAPPER
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.StringgetHTMLElementType()Returns the HTML element type (h1-h6) used for the markup.default java.lang.StringgetText()Returns the text to be displayed as title.default java.lang.StringgetValue()Retrieves the text value to be displayed.-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getExportedType, getId
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
getDataRef, getDorProperties, getEvents, getFieldType, getName, getPath, getProperties, getRules, isVisible, setI18n
-
-
-
-
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
nullif no value can be returned - Since:
- com.adobe.cq.forms.core.components.models.form 5.5.3;
-
-