Table of Contents

Interface ITreeView

Namespace
HP.LFT.SDK.Java
Assembly
HP.LFT.SDK.dll

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

int

SelectedNodes

Returns the selected nodes in the tree.

ReadOnlyCollection<ITreeViewNode> SelectedNodes { get; }

Property Value

ReadOnlyCollection<ITreeViewNode>

VisibleNodesCount

Returns the number of visible nodes in the tree.

int VisibleNodesCount { get; }

Property Value

int

Methods

ActivateNode(ITreeViewNode)

Activates a node in the tree.

void ActivateNode(ITreeViewNode node)

Parameters

node ITreeViewNode

The specified node to activate in the tree.

ActivateNode(string)

Activates a node in the tree by node path.

void ActivateNode(string nodePath)

Parameters

nodePath string

The 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

nodes ITreeViewNode[]

The nodes to deselect.

ExtendSelect(params ITreeViewNode[])

Selects additional nodes in the tree.

void ExtendSelect(params ITreeViewNode[] nodes)

Parameters

nodes ITreeViewNode[]

The nodes to add to the selection.

GetColumnHeader(int)

Returns the header of the specified column in the tree.

string GetColumnHeader(int columnIndex)

Parameters

columnIndex int

0-based index of the column from which to return the value.

Returns

string

GetNode(string)

Returns the specified node.

ITreeViewNode GetNode(string nodePath)

Parameters

nodePath string

The full path of the node to return within the tree.

Returns

ITreeViewNode

Select(params ITreeViewNode[])

Selects the specified nodes in the tree.

void Select(params ITreeViewNode[] nodes)

Parameters

nodes ITreeViewNode[]

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

fromNode ITreeViewNode

The first node in the range

toNode ITreeViewNode

The last node of the range