Class ToggleButtonDescription

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

public class ToggleButtonDescription extends ButtonDescription
The description of an SAPUI5 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 value)
      Sets whether the toggle button is pressed.
      Parameters:
      value - true to press the toggle button.
    • isChecked

      public Boolean isChecked()
      Returns whether the toggle button is pressed.
      Returns:
      True if the toggle button is pressed.