Class 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 Detail

      • GuideCheckBox

        public GuideCheckBox()
    • 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 class GuideField
        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 interface FDField
        Overrides:
        getGuideFieldType in class GuideNode
        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
      • 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
        Returns:
        GuideConstants.GUIDE_FIELD_CHECKBOX_ITEM