Interface TextInput
-
- All Superinterfaces:
Base,BaseConstraint,Component,com.adobe.cq.export.json.ComponentExporter,DateConstraint,Field,FormatConstraint,FormComponent,NumberConstraint,StringConstraint
@ConsumerType public interface TextInput extends Field, NumberConstraint, DateConstraint, StringConstraint
Defines the formTextSling Model used for the/apps/core/fd/components/form/textinput/v1/textinputcomponent.- 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.BaseConstraint
BaseConstraint.Type
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.FormatConstraint
FormatConstraint.Format
-
-
Field Summary
-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.Base
DATE_FORMATTER, DEFAULT_LANGUAGE
-
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 @Nullable java.lang.StringgetAutoComplete()default @Nullable java.lang.StringgetFormat()Returns the format of the form field as specified in the json schema specification(for example, date, binary etc)default booleanisMultiLine()Returnstrueif multi line, otherwisefalse.-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Base
getConstraintMessages, getDescription, getExportedType, getHtmlScreenReaderText, getLabel, getLang, getScreenReaderText, getTooltip, isEnabled, isTooltipVisible
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
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.DateConstraint
getExclusiveMaximumDate, getExclusiveMinimumDate, getMaximumDate, getMinimumDate
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Field
getDataFormat, getDefault, getDisplayFormat, getDisplayValueExpression, getEditFormat, getPlaceHolder, isReadOnly
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
getDataRef, getDorProperties, getEvents, getFieldType, getName, getPath, getProperties, getRules, isVisible, setI18n
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.NumberConstraint
getExclusiveMaximum, getExclusiveMinimum, getMaximum, getMinimum
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.StringConstraint
getMaxLength, getMinLength, getPattern
-
-
-
-
Method Detail
-
isMultiLine
default boolean isMultiLine()
Returnstrueif multi line, otherwisefalse.- Returns:
trueif multi line, otherwisefalse- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
getAutoComplete
@Nullable default @Nullable java.lang.String getAutoComplete()
- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
getFormat
@Nullable default @Nullable java.lang.String getFormat()
Returns the format of the form field as specified in the json schema specification(for example, date, binary etc)- Specified by:
getFormatin interfaceDateConstraint- Specified by:
getFormatin interfaceFormatConstraint- Returns:
- the format of the form field
- Since:
- com.adobe.cq.forms.core.components.models.form 0.0.1
-
-