Table of Contents

Interface ITreeViewNode

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

A single node in a Java TreeView.

public interface ITreeViewNode

Properties

Path

The path to the node in the tree.

string Path { get; }

Property Value

string

Methods

ClickState()

Clicks the state icon of a node in a tree.

void ClickState()

Collapse()

Collapses an expandable node in a tree.

void Collapse()

DoubleClickState()

Double-clicks the state icon of a node in a tree.

void DoubleClickState()

Expand()

Expands an expandable node in a tree.

void Expand()

GetColumnValue(int)

Returns the text of a node in the tree from the specified column by index.

string GetColumnValue(int columnIndex)

Parameters

columnIndex int

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

Returns

string

GetColumnValue(string)

Returns the text of a node in the tree from the specified column by name.

string GetColumnValue(string columnName)

Parameters

columnName string

The name of the column from which to return the value.

Returns

string

OpenContextMenu()

Opens the context menu of a node in a tree.

void OpenContextMenu()

SetChecked(bool)

Sets the state of the node in the tree.

void SetChecked(bool state)

Parameters

state bool

The new state of the check box: true - Checked, false - Unchecked.

SetNodeState(int)

Sets the state of the node in the tree.

void SetNodeState(int index)

Parameters

index int

The state index