Class ButtonDescription

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

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

    • 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 Details

    • setTooltip

      public void setTooltip(StringProperty tooltip)
      Sets the value of the object's tooltip.
      Parameters:
      tooltip - a StringProperty or RegExpProperty.
    • setTooltip

      public void setTooltip(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(StringProperty containerName)
      Sets the name of the parent object.
      Parameters:
      containerName - a StringProperty or RegExpProperty.
    • setContainerName

      public void setContainerName(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(StringProperty text)
      Sets the text associated with the object.
      Parameters:
      text - a StringProperty or RegExpProperty.
    • setText

      public void setText(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(Boolean isEnabled)
      Sets whether the object can accept user input.
      Parameters:
      isEnabled - true to set as enabled.
    • isEnabled

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