Class ToggleButtonDescription

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

public class ToggleButtonDescription extends UiObjectDescriptionBase
The description of a SAP NWBC ToggleButton test object.
  • Constructor Details

    • ToggleButtonDescription

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

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

    • setChecked

      public void setChecked(Boolean checked)
      Sets whether the toggle button is checked or not.
      Parameters:
      checked - true if the toggle button is checked; otherwise, false.
    • isChecked

      public Boolean isChecked()
      Returns whether the toggle button is checked or not.
      Returns:
      true if the toggle button is checked; otherwise, false.