Package com.adobe.aemds.guide.common
Class GuideCheckBox
- 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.GuideCheckBox
-
- All Implemented Interfaces:
FDField
,StyledFDField
,java.io.Serializable
,Use
- Direct Known Subclasses:
GuideRadioButton
public class GuideCheckBox extends GuideField
GuideCheckBox encapsulates basic properties of the adaptive forms Check Box Component. Few are listed below:- Options of the check box configured during authoring
- Alignment of the check box configured during authoring
- Since:
- 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuideCheckBox()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAlignment()
Returns the alignment of the check box Component configured in authoring dialogjava.lang.String
getGuideFieldType()
Returns the field type of the AEM Forms Componentjava.lang.String
getInputType()
Returns type of HTML input element to be usedjava.lang.String
getItemClassName()
Return the name of class that should be applied to checkbox item if the type of appearance is checkboxjava.lang.String
getItemsClass()
Returns the class based on appearance type that should be applied on the group of check box itemsjava.lang.String
getLabelForId()
Returns id for field label association, for accessibilityjava.util.Map
getOptions()
Returns the options configured for the check box component during authoringjava.util.List
getValues()
Returns the values of options present in the checkbox component.-
Methods inherited from class com.adobe.aemds.guide.common.GuideField
getAuthoringConfig, getAutocomplete, getAutofillFieldKeyword, getCaptionInlineStyles, getDescriptionVisibility, getErrorSimulatorString, getFieldLayout, getFieldLayoutName, getHelpIndicatorContent, getHideTitle, getIsOldFieldLayout, getIsReadOnly, getIsRequired, 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
-
getLabelForId
public java.lang.String getLabelForId() throws javax.jcr.RepositoryException
Description copied from class:GuideField
Returns id for field label association, for accessibility- Overrides:
getLabelForId
in classGuideField
- Returns:
- String Id for field label association
- Throws:
javax.jcr.RepositoryException
-
getOptions
public java.util.Map getOptions()
Returns the options configured for the check box component during authoring- Returns:
- Map whose keys are the option values and the values are the text of corresponding option.
-
getValues
public java.util.List getValues()
Returns the values of options present in the checkbox component.- Returns:
- List representing the values of the options
-
getGuideFieldType
public java.lang.String getGuideFieldType()
Returns the field type of the AEM Forms Component- Specified by:
getGuideFieldType
in interfaceFDField
- Overrides:
getGuideFieldType
in classGuideNode
- Returns:
- String representing guide field type
-
getAlignment
public java.lang.String getAlignment()
Returns the alignment of the check box Component configured in authoring dialog- Returns:
- String representing alignment of the check box Component
-
getInputType
public java.lang.String getInputType()
Returns type of HTML input element to be used
-
getItemClassName
public java.lang.String getItemClassName()
Return the name of class that should be applied to checkbox item if the type of appearance is checkbox
-
getItemsClass
public java.lang.String getItemsClass()
Returns the class based on appearance type that should be applied on the group of check box items
-
-