com.hp.lft.sdk.sap.gui

Class ButtonDescription

  • All Implemented Interfaces:
    CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, java.lang.Cloneable


    public class ButtonDescription
    extends ElementDescription
    Description of a SAP GUI for Windows button.
    • Constructor Detail

      • ButtonDescription

        public ButtonDescription()
        Initializes a new instance of the ButtonDescription class.
      • ButtonDescription

        protected ButtonDescription(ButtonDescription.Init<?> init)
        Initializes a new instance of the ButtonDescription class using the Builder pattern.
        Parameters:
        init - the Builder pattern.
    • Method Detail

      • setTooltip

        public void setTooltip(java.lang.String tooltip)
        Sets the value of the object's tooltip.
        Parameters:
        tooltip - the value of the object's tooltip.
      • getTooltip

        public StringProperty getTooltip()
        Returns the text of the label.
        Returns:
        a StringProperty representing the text of the label.
      • setContainerName

        public void setContainerName(java.lang.String containerName)
        Sets the name of the parent object.
        Parameters:
        containerName - the name of the parent object.
      • getContainerName

        public StringProperty getContainerName()
        Returns the name of the parent object.
        Returns:
        a StringProperty representing the name of the parent object.
      • setText

        public void setText(java.lang.String text)
        Sets the text associated with the object.
        Parameters:
        text - the text associated with the object.
      • getText

        public StringProperty getText()
        Returns the text associated with the object.
        Returns:
        the a StringProperty representing text associated with the object.
      • setEnabled

        public void setEnabled(java.lang.Boolean isEnabled)
        Sets whether the object can accept user input.
        Parameters:
        isEnabled - true to set as enabled.
      • isEnabled

        public java.lang.Boolean isEnabled()
        Indicates whether the object can accept user input.
        Returns:
        true if enabled.