Interface NumberInput
-
- All Superinterfaces:
Base,BaseConstraint,Component,com.adobe.cq.export.json.ComponentExporter,Field,FormComponent,NumberConstraint,NumberConstraintV2
@ConsumerType public interface NumberInput extends Field, NumberConstraintV2
Defines the formNumberInputSling Model used for the/apps/core/fd/components/form/numberinput/v1/numberinputcomponent.- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
BaseConstraint.Type
-
-
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.StringgetEditFormat()The format in which the value will be edited by the user.default BaseConstraint.TypegetType()Returns the data type of the form field.-
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
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, getDisplayValueExpression, 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.NumberConstraintV2
getExclusiveMaximumNumber, getExclusiveMinimumNumber, getMaximumNumber, getMinimumNumber
-
-
-
-
Method Detail
-
getEditFormat
@Nullable default @Nullable java.lang.String getEditFormat()
Description copied from interface:FieldThe format in which the value will be edited by the user. For instance users in Germany would want to interchange decimal (.) and comma (,) when entering numerical values.- Specified by:
getEditFormatin interfaceField- Returns:
- edit format of the field
-
getType
default BaseConstraint.Type getType()
Description copied from interface:BaseConstraintReturns the data type of the form field.- Specified by:
getTypein interfaceBaseConstraint- Returns:
- the data type of the form field
- Since:
- com.adobe.cq.wcm.core.components.models.form 4.4.0
- See Also:
BaseConstraint.getType()
-
-