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 classThis class can be used to construct an instance of the TreeDescription class using the builder pattern.protected static classTreeViewDescription.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.protectedInitializes 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.voidsetEnabled(Boolean isEnabled) Sets whether the the tree view can accept user input.voidSets the selected item in the tree.voidsetSelectedItem(String item) Sets the selected item in the tree.voidsetSelectedNodePath(StringProperty nodePath) Sets the path of the selected node in the tree.voidsetSelectedNodePath(String nodePath) Sets the path of the selected node in the tree.voidSets which selections can be made.voidsetTreeType(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, setTypeMethods inherited from class com.hp.lft.sdk.DescriptionBase
cloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescription
cloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBase
getValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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- aStringPropertyorRegExpProperty.
-
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- aStringPropertyorRegExpPropertyrepresents 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.
-