Package com.hp.lft.sdk.sap.nwbc
Class ToggleButtonDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.sap.nwbc.UiObjectDescriptionBase
com.hp.lft.sdk.sap.nwbc.ToggleButtonDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of a SAP NWBC ToggleButton test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprotected static classHelper class for ToggleButtonDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the ToggleButtonDescription class.protectedInitializes a new instance of the ToggleButtonDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns whether the toggle button is checked or not.voidsetChecked(Boolean checked) Sets whether the toggle button is checked or not.Methods inherited from class com.hp.lft.sdk.sap.nwbc.UiObjectDescriptionBase
getAbsoluteLocation, getFullNamePath, getFullType, getLocation, getName, getObjectName, getSize, getText, getWindowTitleRegExp, IsEnabled, IsFocused, IsVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setName, setName, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExpMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
ToggleButtonDescription
public ToggleButtonDescription()Initializes a new instance of the ToggleButtonDescription class. -
ToggleButtonDescription
Initializes a new instance of the ToggleButtonDescription class using the Builder pattern.- Parameters:
init- the Builder pattern.
-
-
Method Details
-
setChecked
Sets whether the toggle button is checked or not.- Parameters:
checked- true if the toggle button is checked; otherwise, false.
-
isChecked
Returns whether the toggle button is checked or not.- Returns:
- true if the toggle button is checked; otherwise, false.
-