Package com.hp.lft.sdk.java
Interface TreeView
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- TreeViewBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A Java tree.
- 
Method SummaryModifier and TypeMethodDescriptionvoidactivateNode(TreeViewNode node) Activates a node in the tree.voidactivateNode(String nodePath) Activates a node in the tree by node path.voiddeselect(TreeViewNode... nodes) Clears the selection of nodes in the tree.voidextendSelect(TreeViewNode... nodes) Selects additional nodes in the tree.getColumnHeader(int columnIndex) Returns the header of the specified column in the tree.Returns the specified node.Returns the selected nodes in the tree.intReturns the number of visible nodes in the tree.voidselect(TreeViewNode... nodes) Selects the specified nodes.voidselectRange(TreeViewNode fromNode, TreeViewNode toNode) Selects the specified range of nodes.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.java.TreeViewBasebuildNodePath, deselect, deselectRange, extendSelect, getColumnsCount, select, selectRangeMethods inherited from interface com.hp.lft.sdk.java.UiObjectBasecreateObject, createObject, fireEvent, getAttachedText, getBackgroundColor, getForegroundColor, getLabel, getNativeClass, getObjectName, getObjectProperty, getPath, getStatics, getTagName, isFocused, sendKeys, sendKeysMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
getVisibleNodesCountReturns the number of visible nodes in the tree.- Returns:
- the number of visible nodes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedNodesReturns the selected nodes in the tree.- Returns:
- the selected nodes.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates a node in the tree.- Parameters:
- node- the node to activate.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
activateNodeActivates a node in the tree by node path.- Parameters:
- nodePath- the full path of the node to activate.
 Tip: Use the- TreeViewBase.buildNodePath(java.lang.Object...)method to build the node path string to be used as the nodePath argument for this method.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
deselectClears the selection of nodes in the tree.- Parameters:
- nodes- the nodes to deselect.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
extendSelectSelects additional nodes in the tree.- Parameters:
- nodes- the nodes to add to the selection.
- Throws:
- GeneralLeanFtException- if error occurs during execution.
 
- 
getColumnHeaderReturns the header of the specified column in the tree.- Parameters:
- columnIndex- 0-based index of the column from which to return the value.
- Returns:
- the header of the specified column.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNodeReturns the specified node.- Parameters:
- nodePath- the full path of the node to return within the tree.
 Tip: Use the- TreeViewBase.buildNodePath(java.lang.Object...)method to build the node path string to be used as the nodePath argument for this method.
- Returns:
- the specified node.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified nodes.- Parameters:
- nodes- the nodes to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectRangeSelects the specified range of nodes.- Parameters:
- fromNode- the first node in the range.
- toNode- the last node of the range.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-