Package com.hp.lft.sdk.winforms
Class CheckBoxDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.winforms.UiObjectDescriptionBase
com.hp.lft.sdk.winforms.CheckBoxDescription
- All Implemented Interfaces:
CloneableObject,Description,com.hp.lft.sdk.internal.DescriptionWithVri,Cloneable
The description of .Net windows forms a CheckBox test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class can be used to construct an instance of the CheckBoxDescription class using the builder pattern.protected static classCheckBoxDescription.Init<T extends CheckBoxDescription.Init<T>> -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs a new instance of CheckBoxDescription.protected -
Method Summary
Modifier and TypeMethodDescriptiongetState()Returns the CheckBox state.Indicates whether the check box is checked.Indicates whether the CheckBox is able to display three check states.voidsetChecked(Boolean isChecked) Sets whether the check box is checked.voidsetState(CheckedState state) Sets the CheckBox state.voidsetThreeState(Boolean isThreeState) Sets whether the CheckBox is able to display three check states.Methods inherited from class com.hp.lft.sdk.winforms.UiObjectDescriptionBase
getAbsoluteLocation, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowClassRegExp, getWindowId, getWindowTitleRegExp, isChildWindow, isEnabled, isFocused, isOwnedWindow, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setChildWindow, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setOwnedWindow, setSize, setSize, setSize, setText, setText, setVisible, setWindowClassRegExp, setWindowClassRegExp, setWindowId, 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
-
CheckBoxDescription
public CheckBoxDescription()Constructs a new instance of CheckBoxDescription. -
CheckBoxDescription
-
-
Method Details
-
getState
Returns the CheckBox state.- Returns:
- the CheckBox state
-
setState
Sets the CheckBox state.- Parameters:
state- the CheckBox state
-
setChecked
Sets whether the check box is checked.- Parameters:
isChecked- whether the check box is checked
-
isChecked
Indicates whether the check box is checked.- Returns:
- true if checked
-
setThreeState
Sets whether the CheckBox is able to display three check states.- Parameters:
isThreeState- the CheckBox is able to display three check states
-
isThreeState
Indicates whether the CheckBox is able to display three check states.- Returns:
- true if able to display three check states
-