Class CheckBoxDescription

All Implemented Interfaces:
CloneableObject, Description, com.hp.lft.sdk.internal.DescriptionWithVri, Cloneable
Direct Known Subclasses:
CheckBoxDescription

public class CheckBoxDescription extends FormFieldDescription
The description of a Web CheckBox test object.
  • 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

    • setChecked

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

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

      public void setEnabled(Boolean isEnabled)
      Sets whether the check box is enabled.
      Parameters:
      isEnabled - true if enabled.
    • isEnabled

      public Boolean isEnabled()
      Indicates whether the check box is enabled.
      Returns:
      true if enabled.
    • setType

      public void setType(StringProperty type)
      Sets the type of object as defined in the HTML input tag.
      Overrides:
      setType in class FormFieldDescription
      Parameters:
      type - a StringProperty(or RegExpProperty) representing the type of object as defined in the HTML input tag.
    • setType

      public void setType(String type)
      Sets the type of object as defined in the HTML input tag.
      Overrides:
      setType in class FormFieldDescription
      Parameters:
      type - the type of object as defined in the HTML input tag.
    • getType

      public StringProperty getType()
      Returns the type of object as defined in the HTML input tag.
      Overrides:
      getType in class FormFieldDescription
      Returns:
      the type of object as defined in the HTML input tag.