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 UiObjectDescriptionBase
The description of a WPF check box test object.
  • Constructor Details

    • CheckBoxDescription

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

      protected CheckBoxDescription(CheckBoxDescription.Init<?> init)
  • Method Details

    • setThreeState

      public void setThreeState(Boolean isThreeState)
      Sets whether the CheckBox is able to display three check states.
      Parameters:
      isThreeState - the CheckBox is able to display three check states.
    • isThreeState

      public Boolean isThreeState()
      Indicates whether the CheckBox is able to display three check states.
      Returns:
      true, if the CheckBox is able to display three check states.
    • getState

      public CheckedState getState()
      Returns the CheckBox state.
      Returns:
      the CheckBox state.
    • setState

      public void setState(CheckedState state)
      Sets the CheckBox state.
      Parameters:
      state - the CheckBox state.
    • setChecked

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

      public Boolean isChecked()
      Indicates whether the check box is checked.
      Returns:
      true, if the check box is checked.
    • setParentText

      public void setParentText(String parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - the text to associate with the parent object
    • setParentText

      public void setParentText(StringProperty parentText)
      Sets the text associated with the parent object of this object.
      Parameters:
      parentText - a StringProperty or RegExpProperty
    • getParentText

      public StringProperty getParentText()
      Returns text associated with the parent object of the object.
      Returns:
      parentText the text associated with the parent
    • setHelpText

      public void setHelpText(String helpText)
      Sets the help text associated with this object.
      Parameters:
      helpText - the help text associated with the this object
    • setHelpText

      public void setHelpText(StringProperty helpText)
      Sets the help text associated with this object.
      Parameters:
      helpText - a StringProperty or RegExpProperty
    • getHelpText

      public StringProperty getHelpText()
      Returns the help text associated with this object.
      Returns:
      helpText the help text