Package com.hp.lft.sdk.sap.gui
Class TreeViewDescription.Init<T extends TreeViewDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.sap.gui.ElementDescription.Init<T>
com.hp.lft.sdk.sap.gui.TreeViewDescription.Init<T>
- Direct Known Subclasses:
TreeViewDescription.Builder
- Enclosing class:
- TreeViewDescription
protected abstract static class TreeViewDescription.Init<T extends TreeViewDescription.Init<T>>
extends ElementDescription.Init<T>
Helper class for TreeDescription.Builder.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns the built description instance (builder pattern).Initializes whether the object is enabled.selectedItem
(StringProperty selectedItem) Initializes the selected item in the tree.selectedItem
(String selectedItem) Initializes the selected item in the tree.selectedNodePath
(StringProperty selectedNodePath) Initializes the path of the selected node in the tree.selectedNodePath
(String selectedNodePath) Initializes the path of the selected node in the treeInitializes which selections can be made.Initializes the type of the tree.Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription.Init
absoluteLocation, absoluteLocation, absoluteLocation, id, id, location, location, location, name, name, size, size, size, type
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 classElementDescription.Init<T extends TreeViewDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
-
enabled
Initializes whether the object is enabled.- Parameters:
enabled
- true to set as enabled.- Returns:
- the description instance with the update state (builder pattern).
-
treeType
Initializes the type of the tree.- Parameters:
type
- the type of the tree.- Returns:
- the description instance with the update state (builder pattern).
-
selectionMode
Initializes which selections can be made.- Parameters:
mode
- the selection mode.- Returns:
- the description instance with the update state (builder pattern).
-
selectedItem
Initializes the selected item in the tree.- Parameters:
selectedItem
- the selected item.- Returns:
- the description instance with the update state (builder pattern)
-
selectedItem
Initializes the selected item in the tree.- Parameters:
selectedItem
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern)
-
selectedNodePath
Initializes the path of the selected node in the tree- Parameters:
selectedNodePath
- the path of the selected node.- Returns:
- the description instance with the update state (builder pattern)
-
selectedNodePath
Initializes the path of the selected node in the tree.- Parameters:
selectedNodePath
- aStringProperty
orRegExpProperty
.- Returns:
- the description instance with the update state (builder pattern)
-