Interface TextInput
-
- All Superinterfaces:
Base
,BaseConstraint
,com.adobe.cq.wcm.core.components.models.Component
,com.adobe.cq.export.json.ComponentExporter
,Field
@ConsumerType public interface TextInput extends Field
Defines the formText
Sling Model used for the/apps/core/fd/components/form/textinput
component.- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.Base
Base.ConstraintType, Base.FieldType
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
BaseConstraint.Type
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.lang.String
getAutofillFieldKeyword()
The autofillFieldKeyword.default @NotNull java.lang.String
getFieldType()
Returns the field typedefault boolean
isAutoComplete()
Returnstrue
if autocomplete, otherwisefalse
.default boolean
isMultiLine()
Returnstrue
if multi line, otherwisefalse
.-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Base
getConstraintsMessages, getDataRef, getDescription, getExportedType, getLabel, getName, getProperties, getScreenReaderText, isEnabled, isVisible
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
getFormat, getType, getValidationExpression, isRequired
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getId
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Field
getDataFormat, getDefault, getDisplayFormat, getEditFormat, getPlaceHolder, getShortDescription, isReadOnly, isShortDescriptionVisible
-
-
-
-
Method Detail
-
isMultiLine
default boolean isMultiLine()
Returnstrue
if multi line, otherwisefalse
.- Returns:
true
if multi line, otherwisefalse
- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
getFieldType
@NotNull default @NotNull java.lang.String getFieldType()
Description copied from interface:Base
Returns the field type- Specified by:
getFieldType
in interfaceBase
- Returns:
- the field type
- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
- See Also:
Base.getFieldType()
-
isAutoComplete
default boolean isAutoComplete()
Returnstrue
if autocomplete, otherwisefalse
.- Returns:
true
if autocomplete, otherwisefalse
- Since:
- com.adobe.cq.forms.core.components.models.form 1.0.0
-
getAutofillFieldKeyword
default java.lang.String getAutofillFieldKeyword()
The autofillFieldKeyword.- Returns:
- autofillFieldKeyword.
- Since:
- com.adobe.cq.forms.core.components.models.form 1.0.0
-
-