Package com.hp.lft.sdk.wpf
Class ListDescription.Init<T extends ListDescription.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.ListDescription.Init<T>
- Direct Known Subclasses:
ListDescription.Builder
- Enclosing class:
- ListDescription
protected abstract static class ListDescription.Init<T extends ListDescription.Init<T>>
extends UiObjectDescriptionBase.Init<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).helpText
(StringProperty helpText) Initializes the help text associated with this object.Initializes help text associated with this object.Initializes the list of all items in the list object.name
(StringProperty name) Initializes the name of this object.Initializes the name of 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.selectedItems
(String[] selectedItems) Initializes the list of items that are selected in the list object.selectMultiple
(Boolean isSelectMultiple) Initializes whether the container allows more than one child element to be selected concurrently.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 ListDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
selectMultiple
Initializes whether the container allows more than one child element to be selected concurrently.- Parameters:
isSelectMultiple
- whether the container allows more than one child element to be selected concurrently.- 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)
-
name
Initializes the name of this object.- Parameters:
name
- a StringProperty(or RegExpProperty) representing the text associated with the name of the object.- Returns:
- the description instance with the update state (builder pattern)
-
name
Initializes the name of this object.- Parameters:
name
- the name of this 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)
-
items
Initializes the list of all items in the list object.- Parameters:
items
- the list of all items in the list object.- Returns:
- the description instance with the update state (builder pattern)
-
selectedItems
Initializes the list of items that are selected in the list object.- Parameters:
selectedItems
- the list of items that are selected in the list object.- Returns:
- the description instance with the update state (builder pattern)
-