Class CheckBoxDescription

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

public class CheckBoxDescription extends ElementDescription
Description of a SAP GUI for Windows checkbox.
  • Constructor Details

    • CheckBoxDescription

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

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

    • setAttachedText

      public void setAttachedText(StringProperty text)
      Sets the text associated with the object.
      Parameters:
      text - a StringProperty or RegExpProperty.
    • setAttachedText

      public void setAttachedText(String text)
      Sets the text associated with the object.
      Parameters:
      text - the text associated with the object.
    • getAttachedText

      public StringProperty getAttachedText()
      Returns the text associated with the object.
      Returns:
      the text associated with the object.
    • setEnabled

      public void setEnabled(Boolean isEnabled)
      Sets whether the object can accept user input.
      Parameters:
      isEnabled - true if enabled.
    • isEnabled

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

      public void setChecked(Boolean isChecked)
      Sets whether the checkbox is checked.
      Parameters:
      isChecked - whether the checkbox is checked.
    • isChecked

      public Boolean isChecked()
      Indicates whether the checkbox is checked.
      Returns:
      whether the checkbox is checked.