Package com.adobe.aemds.guide.common
Class GuideDatePicker
- java.lang.Object
-
- com.adobe.cq.sightly.WCMUsePojo
-
- com.adobe.aemds.guide.common.GuideNode
-
- com.adobe.aemds.guide.common.GuideField
-
- com.adobe.aemds.guide.common.GuideDatePicker
-
- All Implemented Interfaces:
FDField
,StyledFDField
,java.io.Serializable
,Use
public class GuideDatePicker extends GuideField
GuideDatePicker encapsulates basic properties of the adaptive forms DatePicker Component.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuideDatePicker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Boolean
checkIfDateInputTitleHidden()
Returns if labels to each date Input are necessaryjava.lang.String
getDateInputOptions()
Returns the options for passing to Adaptive Forms Date Input Componentjava.lang.String
getGuideFieldType()
Returns the field type of the Adaptive Forms Componentjava.lang.String
getHeightOfDiv()
Returns the class to be used on the wrapper depending if labels are requiredjava.lang.String
getHtml5Type()
Returns the html5 input type which should be used in the widgetjava.lang.String
getMaximumDate()
Returns maximum valid date.java.lang.String
getMinimumDate()
Returns minimum valid date.java.lang.Boolean
isMaxDateExcluded()
Returns boolean if maximum date is excluded from range of valid dates.java.lang.Boolean
isMinDateExcluded()
Returns boolean if minimum date is excluded from range of valid dates.-
Methods inherited from class com.adobe.aemds.guide.common.GuideField
getAuthoringConfig, getAutocomplete, getAutofillFieldKeyword, getCaptionInlineStyles, getDescriptionVisibility, getErrorSimulatorString, getFieldLayout, getFieldLayoutName, getHelpIndicatorContent, getHideTitle, getIsOldFieldLayout, getIsReadOnly, getIsRequired, getLabelForId, getLongDescription, getPlaceholderText, getShortDescription, getShortDescriptionInlineStyles, getValue, getWidgetInlineStyles, isMandatory, setHelpIndicatorContent
-
Methods inherited from class com.adobe.aemds.guide.common.GuideNode
activate, checkIfPathIsAbsolute, externalize, getAddMessage, getAppearance, getAuthoringConfigJSON, getBindRef, getClientLibRef, getColspan, getCssClassName, getDescription, getEnabled, getEnabledExp, getError, getFieldInlineStyles, getHeight, getI18n, getId, getInlineCssClass, getInlineStyles, getIsEditMode, getIsRepeatable, getItems, getLayoutPath, getLayoutTabType, getLongDescriptionInlineStyles, getName, getNavTitle, getNodeClass, getNonNavigableProperty, getPath, getQuestionMarkInlineStyles, getRemoveMessage, getResourceSuperType, getResourceType, getResponsiveClasses, getSlingRequest, getStyles, getTargetVersion, getTitle, getToolbarPosition, getVersion, getVisible, getVisibleExp, getWidth, getXssapi, getXssDescription, isDocumentFragmentGroup, isLayoutNavigable, isMenuRequired, isValid, isValidDorTemplateRef, setClientLibRef, setResource, setSlingRequest, syncNode, validate
-
Methods inherited from class com.adobe.cq.sightly.WCMUsePojo
get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init
-
-
-
-
Method Detail
-
getGuideFieldType
public java.lang.String getGuideFieldType()
Returns the field type of the Adaptive Forms Component- Specified by:
getGuideFieldType
in interfaceFDField
- Overrides:
getGuideFieldType
in classGuideNode
- Returns:
- String representing guide field type
-
getHtml5Type
public java.lang.String getHtml5Type()
Returns the html5 input type which should be used in the widget- Returns:
- string representing the html5 type to be used in the widget
-
getDateInputOptions
public java.lang.String getDateInputOptions()
Returns the options for passing to Adaptive Forms Date Input Component- Returns:
- String returning options
-
checkIfDateInputTitleHidden
public java.lang.Boolean checkIfDateInputTitleHidden()
Returns if labels to each date Input are necessary- Returns:
- Boolean representing if labels to the date inputs are required
-
getHeightOfDiv
public java.lang.String getHeightOfDiv()
Returns the class to be used on the wrapper depending if labels are required- Returns:
- String representing the class
-
isMaxDateExcluded
public java.lang.Boolean isMaxDateExcluded()
Returns boolean if maximum date is excluded from range of valid dates.- Returns:
- Boolean if maximum date is excluded from range of valid dates.
-
isMinDateExcluded
public java.lang.Boolean isMinDateExcluded()
Returns boolean if minimum date is excluded from range of valid dates.- Returns:
- Boolean if minimum date is excluded from range of valid dates.
-
getMaximumDate
public java.lang.String getMaximumDate()
Returns maximum valid date.- Returns:
- String maximum date which is valid.
-
getMinimumDate
public java.lang.String getMinimumDate()
Returns minimum valid date.- Returns:
- String minimum date which is valid.
-
-