Package com.hp.lft.sdk.wpf
Class TreeViewDescription.Init<T extends TreeViewDescription.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.TreeViewDescription.Init<T>
- Direct Known Subclasses:
TreeViewDescription.Builder
- Enclosing class:
- TreeViewDescription
protected abstract static class TreeViewDescription.Init<T extends TreeViewDescription.Init<T>>
extends UiObjectDescriptionBase.Init<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).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.selectedNodes
(String[] selectedNodes) Initializes the selected nodes in the tree view.visibleNodes
(String[] visibleNodes) Initializes the visible nodes in the tree view.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 TreeViewDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
visibleNodes
Initializes the visible nodes in the tree view.- Parameters:
visibleNodes
- the visible nodes in the tree view.- Returns:
- the description instance with the update state (builder pattern)
-
selectedNodes
Initializes the selected nodes in the tree view.- Parameters:
selectedNodes
- the selected nodes in the tree view.- 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)
-