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 .Net windows forms a CheckBox test object.
  • Constructor Details

    • CheckBoxDescription

      public CheckBoxDescription()
      Constructs a new instance of CheckBoxDescription.
    • CheckBoxDescription

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

    • 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 checked
    • 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 able to display three check states