Package com.hp.lft.sdk.sap.gui
Class TreeViewDescription
java.lang.Object
com.hp.lft.sdk.internal.PropertiesDescriptionBase
com.hp.lft.sdk.PropertiesDescription
com.hp.lft.sdk.DescriptionBase
com.hp.lft.sdk.sap.gui.ElementDescription
com.hp.lft.sdk.sap.gui.TreeViewDescription
- All Implemented Interfaces:
CloneableObject
,Description
,com.hp.lft.sdk.internal.DescriptionWithVri
,Cloneable
Description of a SAP GUI for Windows tree.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
This class can be used to construct an instance of the TreeDescription class using the builder pattern.protected static class
TreeViewDescription.Init<T extends TreeViewDescription.Init<T>>
Helper class for TreeDescription.Builder. -
Field Summary
Fields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
properties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionInitializes a new instance of the TreeDescription class.protected
Initializes a new instance of the TreeDescription class using the Builder pattern. -
Method Summary
Modifier and TypeMethodDescriptionReturns the selected item.Returns the path of the selected node in the tree.Returns which selections can be made.Returns the type of the tree.Indicates whether the the tree view can accept user input.void
setEnabled
(Boolean isEnabled) Sets whether the the tree view can accept user input.void
Sets the selected item in the tree.void
setSelectedItem
(String item) Sets the selected item in the tree.void
setSelectedNodePath
(StringProperty nodePath) Sets the path of the selected node in the tree.void
setSelectedNodePath
(String nodePath) Sets the path of the selected node in the tree.void
Sets which selections can be made.void
setTreeType
(TreeType type) Sets the type of the tree.Methods inherited from class com.hp.lft.sdk.sap.gui.ElementDescription
getAbsoluteLocation, getId, getLocation, getName, getSize, getType, setAbsoluteLocation, setAbsoluteLocation, setAbsoluteLocation, setId, setId, setLocation, setLocation, setLocation, setName, setName, setSize, setSize, setSize, setType
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
-
TreeViewDescription
public TreeViewDescription()Initializes a new instance of the TreeDescription class. -
TreeViewDescription
Initializes a new instance of the TreeDescription class using the Builder pattern.- Parameters:
init
- the Builder pattern.
-
-
Method Details
-
setSelectedItem
Sets the selected item in the tree.- Parameters:
item
- the item.
-
setSelectedItem
Sets the selected item in the tree.- Parameters:
item
- aStringProperty
orRegExpProperty
.
-
getSelectedItem
Returns the selected item.- Returns:
- the selected item.
-
setSelectedNodePath
Sets the path of the selected node in the tree.- Parameters:
nodePath
- the node path.
-
setSelectedNodePath
Sets the path of the selected node in the tree.- Parameters:
nodePath
- aStringProperty
orRegExpProperty
represents the path of the selected node.
-
getSelectedNodePath
Returns the path of the selected node in the tree.- Returns:
- the selected node.
-
setTreeType
Sets the type of the tree.- Parameters:
type
- the type.
-
getTreeType
Returns the type of the tree.- Returns:
- the type.
-
setSelectionMode
Sets which selections can be made.- Parameters:
mode
- the selection mode.
-
getSelectionMode
Returns which selections can be made.- Returns:
- the selection mode of the tree.
-
setEnabled
Sets whether the the tree view can accept user input.- Parameters:
isEnabled
- true to set as enabled.
-
isEnabled
Indicates whether the the tree view can accept user input.- Returns:
- true if enabled.
-