com.hp.lft.sdk.sap.ui5

Class ToggleButtonDescription

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


    public class ToggleButtonDescription
    extends ButtonDescription
    The description of an SAPUI5 ToggleButton test object.
    • Constructor Detail

      • 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 Detail

      • setChecked

        public void setChecked(java.lang.Boolean value)
        Sets whether the toggle button is pressed.
        Parameters:
        value - true to press the toggle button.
      • isChecked

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