Interface DatePicker
-
- All Superinterfaces:
Base,BaseConstraint,Component,com.adobe.cq.export.json.ComponentExporter,DateConstraint,Field,FormatConstraint,FormComponent
@ConsumerType public interface DatePicker extends Field, DateConstraint
Defines the formDatePickerSling Model used for the/apps/core/fd/components/form/datepicker/v1/datepickercomponent.- 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
-
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 java.lang.Object[]getDefault()The value of the field when no value is provided by the end user or data model.-
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, getFormat, getMaximumDate, getMinimumDate
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Field
getDataFormat, 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
-
-
-
-
Method Detail
-
getDefault
default java.lang.Object[] getDefault()
Description copied from interface:FieldThe value of the field when no value is provided by the end user or data model. The type of this property should match the value of the type property defined in the Field. If not, then a type coercion will be tried and if that fails, the value will be set to null.- Specified by:
getDefaultin interfaceField- Returns:
- default value of the field
- Since:
- com.adobe.cq.forms.core.components.models.form 2.0.0
- See Also:
Field.getDefault()
-
-