Package com.hp.lft.sdk.wpf
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.wpf.UiObjectDescriptionBase
com.hp.lft.sdk.wpf.CheckBoxDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
The description of a WPF check box test object.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the CheckBoxDescription class using the builder pattern.protected static class
CheckBoxDescription.Init<T extends CheckBoxDescription.Init<T>>
-
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the CheckBoxDescription class.protected
-
Method Summary
Modifier and TypeMethodDescriptionReturns the help text associated with this object.Returns text associated with the parent object of the object.getState()
Returns the CheckBox state.Indicates whether the check box is checked.Indicates whether the CheckBox is able to display three check states.void
setChecked
(Boolean isChecked) Sets whether the check box is checked.void
setHelpText
(StringProperty helpText) Sets the help text associated with this object.void
setHelpText
(String helpText) Sets the help text associated with this object.void
setParentText
(StringProperty parentText) Sets the text associated with the parent object of this object.void
setParentText
(String parentText) Sets the text associated with the parent object of this object.void
setState
(CheckedState state) Sets the CheckBox state.void
setThreeState
(Boolean isThreeState) Sets whether the CheckBox is able to display three check states.Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBase
canFocus, getAbsoluteLocation, getAttachedText, getFullNamePath, getFullType, getLocation, getNativeClass, getObjectName, getSize, getText, getWindowTitleRegExp, isEnabled, isFocused, isVisible, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setAttachedText, setAttachedText, setCanFocus, setEnabled, setFocused, setFullNamePath, setFullNamePath, setFullType, setFullType, setLocation, setLocation, setLocation, setNativeClass, setNativeClass, setObjectName, setObjectName, setSize, setSize, setSize, setText, setText, setVisible, setWindowTitleRegExp, setWindowTitleRegExp
Methods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRI
Methods inherited from class com.hp.lft.sdk.PropertiesDescription
clone
Methods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValue
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.hp.lft.sdk.CloneableObject
clone
-
Constructor Details
-
CheckBoxDescription
public CheckBoxDescription()Initializes a new instance of the CheckBoxDescription class. -
CheckBoxDescription
-
-
Method Details
-
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 the CheckBox is able to display three check states.
-
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 the check box is checked.
-
setParentText
Sets the text associated with the parent object of this object.- Parameters:
parentText
- the text to associate with the parent object
-
setParentText
Sets the text associated with the parent object of this object.- Parameters:
parentText
- a StringProperty or RegExpProperty
-
getParentText
Returns text associated with the parent object of the object.- Returns:
- parentText the text associated with the parent
-
setHelpText
Sets the help text associated with this object.- Parameters:
helpText
- the help text associated with the this object
-
setHelpText
Sets the help text associated with this object.- Parameters:
helpText
- aStringProperty
orRegExpProperty
-
getHelpText
Returns the help text associated with this object.- Returns:
- helpText the help text
-