Class GuideSwitch

  • All Implemented Interfaces:
    FDField, StyledFDField, java.io.Serializable, Use

    public class GuideSwitch
    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

      • GuideSwitch

        public GuideSwitch()
    • Method Detail

      • 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