Table of Contents

Interface ITreeViewBase

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

A base Java Tree.

public interface ITreeViewBase

Methods

BuildNodePath(params object[])

Returns the path of a node in the tree.

string BuildNodePath(params object[] nodePathParts)

Parameters

nodePathParts object[]

The tree node path parts can be: text(string) or numeric index(int). Index values are 0-based. For a full path, separate items with commas.

Returns

string

Deselect(params string[])

Clears the selection of nodes in the tree by nodes paths.

void Deselect(params string[] nodesPaths)

Parameters

nodesPaths string[]

The paths of the nodes to deselect Tip: Use the BuildNodePath(params object[]) method to build the node path strings to be used as arguments for this method

DeselectRange(string, string)

Clears the selection of the specified range of nodes in a tree. Tip: Use the BuildNodePath(params object[]) method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method.

void DeselectRange(string fromNodePath, string toNodePath)

Parameters

fromNodePath string

0-based index of the first node in the range

toNodePath string

0-based index of the last node of the range

ExtendSelect(params string[])

Selects additional nodes in the tree.

void ExtendSelect(params string[] nodesPaths)

Parameters

nodesPaths string[]

The paths of the nodes to add to the selection.

Select(params string[])

Selects the specified nodes in the tree by nodes paths.

void Select(params string[] nodesPaths)

Parameters

nodesPaths string[]

The paths of the nodes to select in the tree.

SelectRange(string, string)

Selects the specified range of nodes in the tree. Tip: Use the BuildNodePath(params object[]) method to build the node path strings to be used as the fromNodePath and toNodePath arguments for this method.

void SelectRange(string fromNodePath, string toNodePath)

Parameters

fromNodePath string

The path of the first node in the range

toNodePath string

The path of the last node of the range