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 SummaryNested 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 SummaryFields inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBaseproperties
- 
Constructor SummaryConstructorsModifierConstructorDescriptionInitializes a new instance of the TreeDescription class.protectedInitializes a new instance of the TreeDescription class using the Builder pattern.
- 
Method SummaryModifier 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.ElementDescriptiongetAbsoluteLocation, 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.DescriptionBasecloneTo, getIndex, getIndexType, getObjectProperties, getVRI, setIndex, setIndexType, setObjectProperties, setVRI, setVRIMethods inherited from class com.hp.lft.sdk.PropertiesDescriptioncloneMethods inherited from class com.hp.lft.sdk.internal.PropertiesDescriptionBasegetValueAs, getValueAsStringProperty, insertValueMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hp.lft.sdk.CloneableObjectclone
- 
Constructor Details- 
TreeViewDescriptionpublic TreeViewDescription()Initializes a new instance of the TreeDescription class.
- 
TreeViewDescriptionInitializes a new instance of the TreeDescription class using the Builder pattern.- Parameters:
- init- the Builder pattern.
 
 
- 
- 
Method Details- 
setSelectedItemSets the selected item in the tree.- Parameters:
- item- the item.
 
- 
setSelectedItemSets the selected item in the tree.- Parameters:
- item- a- StringPropertyor- RegExpProperty.
 
- 
getSelectedItemReturns the selected item.- Returns:
- the selected item.
 
- 
setSelectedNodePathSets the path of the selected node in the tree.- Parameters:
- nodePath- the node path.
 
- 
setSelectedNodePathSets the path of the selected node in the tree.- Parameters:
- nodePath- a- StringPropertyor- RegExpPropertyrepresents the path of the selected node.
 
- 
getSelectedNodePathReturns the path of the selected node in the tree.- Returns:
- the selected node.
 
- 
setTreeTypeSets the type of the tree.- Parameters:
- type- the type.
 
- 
getTreeTypeReturns the type of the tree.- Returns:
- the type.
 
- 
setSelectionModeSets which selections can be made.- Parameters:
- mode- the selection mode.
 
- 
getSelectionModeReturns which selections can be made.- Returns:
- the selection mode of the tree.
 
- 
setEnabledSets whether the the tree view can accept user input.- Parameters:
- isEnabled- true to set as enabled.
 
- 
isEnabledIndicates whether the the tree view can accept user input.- Returns:
- true if enabled.
 
 
-