com.hp.lft.sdk.winforms

Class CheckBoxDescription

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


    public class CheckBoxDescription
    extends UiObjectDescriptionBase
    The description of .Net windows forms a CheckBox test object.
    • Constructor Detail

      • CheckBoxDescription

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

      • 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(java.lang.Boolean isChecked)
        Sets whether the check box is checked.
        Parameters:
        isChecked - whether the check box is checked
      • isChecked

        public java.lang.Boolean isChecked()
        Indicates whether the check box is checked.
        Returns:
        true if checked
      • setThreeState

        public void setThreeState(java.lang.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 java.lang.Boolean isThreeState()
        Indicates whether the CheckBox is able to display three check states.
        Returns:
        true if able to display three check states