Package com.adobe.aemds.guide.common
Class GuideNumericBox
- 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.GuideNumericBox
-
- All Implemented Interfaces:
FDField
,StyledFDField
,java.io.Serializable
,Use
- Direct Known Subclasses:
GuideNumericStepper
public class GuideNumericBox extends GuideField
GuideNumericBox class encapsulates basic properties of the adaptive forms numeric box Component. Few are listed below:- maximum value allowed
- minimum value allowed
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuideNumericBox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getGuideFieldType()
Returns the field type of the adaptive forms Componentjava.lang.String
getHtml5Type()
Returns the html5 input type which should be used in the widgetjava.lang.String
getMaximumValue()
Returns maximum valid value.java.lang.String
getMinimumValue()
Returns minimum valid value.java.lang.String[]
getValues()
Returns the value configured during authoringjava.lang.Boolean
isMaxValueExcluded()
Returns if maximum value given is excluded form range of valid values.java.lang.Boolean
isMinValueExcluded()
Returns if minimum value given is excluded form range of valid values.-
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
-
getValues
public java.lang.String[] getValues()
Returns the value configured during authoring- Returns:
- value configured during authoring
-
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
-
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
-
isMaxValueExcluded
public java.lang.Boolean isMaxValueExcluded()
Returns if maximum value given is excluded form range of valid values.- Returns:
- Boolean if maximum value given is excluded form range of valid values.
-
isMinValueExcluded
public java.lang.Boolean isMinValueExcluded()
Returns if minimum value given is excluded form range of valid values.- Returns:
- Boolean if minimum value given is excluded form range of valid values.
-
getMaximumValue
public java.lang.String getMaximumValue()
Returns maximum valid value.- Returns:
- String maximum valid value.
-
getMinimumValue
public java.lang.String getMinimumValue()
Returns minimum valid value.- Returns:
- String minimum valid value.
-
-