Interface ITreeView
A Java tree.
public interface ITreeView : ITreeViewBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportsNativeObject, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Properties
ColumnsCount
Returns the number of columns in the tree.
int ColumnsCount { get; }
Property Value
SelectedNodes
Returns the selected nodes in the tree.
ReadOnlyCollection<ITreeViewNode> SelectedNodes { get; }
Property Value
VisibleNodesCount
Returns the number of visible nodes in the tree.
int VisibleNodesCount { get; }
Property Value
Methods
ActivateNode(ITreeViewNode)
Activates a node in the tree.
void ActivateNode(ITreeViewNode node)
Parameters
nodeITreeViewNodeThe specified node to activate in the tree.
ActivateNode(string)
Activates a node in the tree by node path.
void ActivateNode(string nodePath)
Parameters
nodePathstringThe full path of the node to activate within the tree. Tip: Use the HP.LFT.SDK.Technologies.Java.API.ITreeViewBase#BuildNodePath method to build the node path string to be used as the nodePath argument for this method
Deselect(params ITreeViewNode[])
Clears the selection of nodes in the tree.
void Deselect(params ITreeViewNode[] nodes)
Parameters
nodesITreeViewNode[]The nodes to deselect.
ExtendSelect(params ITreeViewNode[])
Selects additional nodes in the tree.
void ExtendSelect(params ITreeViewNode[] nodes)
Parameters
nodesITreeViewNode[]The nodes to add to the selection.
GetColumnHeader(int)
Returns the header of the specified column in the tree.
string GetColumnHeader(int columnIndex)
Parameters
columnIndexint0-based index of the column from which to return the value.
Returns
GetNode(string)
Returns the specified node.
ITreeViewNode GetNode(string nodePath)
Parameters
nodePathstringThe full path of the node to return within the tree.
Returns
Select(params ITreeViewNode[])
Selects the specified nodes in the tree.
void Select(params ITreeViewNode[] nodes)
Parameters
nodesITreeViewNode[]The nodes to select in a tree.
SelectRange(ITreeViewNode, ITreeViewNode)
Selects the specified range of nodes in the tree.
void SelectRange(ITreeViewNode fromNode, ITreeViewNode toNode)
Parameters
fromNodeITreeViewNodeThe first node in the range
toNodeITreeViewNodeThe last node of the range