Interface Text
-
- All Superinterfaces:
Component,com.adobe.cq.export.json.ComponentExporter,FormComponent
@ConsumerType public interface Text extends FormComponent
Defines the formTextSling Model used for the/apps/core/fd/components/form/text/v1/textcomponent.- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
-
Field Summary
-
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.StringgetValue()Retrieves the text value to be displayed.default booleanisRichText()Checks if the text to be displayed is rich text or not.-
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
-
-
-
-
Method Detail
-
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 0.0.1;
-
isRichText
default boolean isRichText()
Checks if the text to be displayed is rich text or not.- Returns:
trueif the text is rich (HTML formatting),false otherwise- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1;
-
-