Class GuideButton

  • All Implemented Interfaces:
    FDField, StyledFDField, java.io.Serializable, Use
    Direct Known Subclasses:
    GuideListFileAttachmentButton

    public class GuideButton
    extends GuideField
    GuideButton class encapsulates basic properties of the adaptive forms Button Component. Some of the properties that it encapsulates are listed below:
    • Type of the button
    • Size of the button
    Since:
    6.0
    See Also:
    Serialized Form
    • Constructor Detail

      • GuideButton

        public GuideButton()
    • Method Detail

      • getGuideFieldType

        public java.lang.String getGuideFieldType()
        Description copied from class: GuideNode
        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
      • getHideTitle

        public boolean getHideTitle()
        In case of button, we don't have notion of hideTitle Other guide fields have this notion
        Overrides:
        getHideTitle in class GuideField
        Returns:
        boolean indicating if title is hidden or not
      • getButtonType

        public java.lang.String getButtonType()
      • getButtonSize

        public java.lang.String getButtonSize()
        Deprecated.
        Done to support forms created uptill 6.1 FP1
        Returns the button size type set in authoring dialog. It can be one of the following
        • button-small
        • button-medium (default)
        • button-large
        Returns:
        string representing the size of button
      • getType

        public java.lang.String getType()
        Returns the type of button configured in the authoring dialog
        Returns:
        type of the button configured