Package com.hp.lft.sdk.wpf
Class CheckBoxDescription.Init<T extends CheckBoxDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.wpf.UiObjectDescriptionBase.Init<T>
com.hp.lft.sdk.wpf.CheckBoxDescription.Init<T>
- Direct Known Subclasses:
CheckBoxDescription.Builder
- Enclosing class:
- CheckBoxDescription
protected abstract static class CheckBoxDescription.Init<T extends CheckBoxDescription.Init<T>>
extends UiObjectDescriptionBase.Init<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes whether the check box is checked.helpText
(StringProperty helpText) Initializes the help text associated with this object.Initializes help text associated with this object.parentText
(StringProperty parentText) Initializes text associated with the parent object of this object.parentText
(String parentText) Initializes the text associated with the parent object of this object.state
(CheckedState state) Initializes the CheckBox state.threeState
(Boolean isThreeState) Initializes whether the CheckBox is able to display three check states.Methods inherited from class com.hp.lft.sdk.wpf.UiObjectDescriptionBase.Init
absoluteLocation, absoluteLocation, absoluteLocation, attachedText, attachedText, canFocus, enabled, focused, fullNamePath, fullNamePath, fullType, fullType, location, location, location, nativeClass, nativeClass, objectName, objectName, size, size, size, text, text, visible, windowTitleRegExp, windowTitleRegExp
Methods inherited from class com.hp.lft.sdk.DescriptionBase.Init
index, objectProperties, self, vri, vri
-
Constructor Details
-
Init
protected Init()
-
-
Method Details
-
build
Description copied from class:DescriptionBase.Init
Returns the built description instance (builder pattern).- Overrides:
build
in classDescriptionBase.Init<T extends CheckBoxDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
state
Initializes the CheckBox state.- Parameters:
state
- the CheckBox state.- Returns:
- the description instance with the update state (builder pattern)
-
threeState
Initializes whether the CheckBox is able to display three check states.- Parameters:
isThreeState
- whether the CheckBox is able to display three check states.- Returns:
- the description instance with the update state (builder pattern)
-
checked
Initializes whether the check box is checked.- Parameters:
isChecked
- whether the check box is checked.- Returns:
- the description instance with the update state (builder pattern)
-
parentText
Initializes text associated with the parent object of this object.- Parameters:
parentText
- a StringProperty or RegExpProperty- Returns:
- the description instance with the update state (builder pattern)
-
parentText
Initializes the text associated with the parent object of this object.- Parameters:
parentText
- the text to associate with the parent object- Returns:
- the description instance with the update state (builder pattern)
-
helpText
Initializes the help text associated with this object.- Parameters:
helpText
- aStringProperty
orRegExpProperty
- Returns:
- the description instance with the update state (builder pattern)
-
helpText
Initializes help text associated with this object.- Parameters:
helpText
- the help text associated with the this object- Returns:
- the description instance with the update state (builder pattern)
-