Interface ITreeViewNode
A single node in a Java TreeView.
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITreeViewNode
Properties
Path
The path to the node in the tree.
Declaration
string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ClickState()
Clicks the state icon of a node in a tree.
Declaration
void ClickState()
Collapse()
Collapses an expandable node in a tree.
Declaration
void Collapse()
DoubleClickState()
Double-clicks the state icon of a node in a tree.
Declaration
void DoubleClickState()
Expand()
Expands an expandable node in a tree.
Declaration
void Expand()
GetColumnValue(int)
Returns the text of a node in the tree from the specified column by index.
Declaration
string GetColumnValue(int columnIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | columnIndex | 0-based index of the column from which to return the value. |
Returns
| Type | Description |
|---|---|
| string |
GetColumnValue(string)
Returns the text of a node in the tree from the specified column by name.
Declaration
string GetColumnValue(string columnName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | columnName | The name of the column from which to return the value. |
Returns
| Type | Description |
|---|---|
| string |
OpenContextMenu()
Opens the context menu of a node in a tree.
Declaration
void OpenContextMenu()
SetChecked(bool)
Sets the state of the node in the tree.
Declaration
void SetChecked(bool state)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | state | The new state of the check box: true - Checked, false - Unchecked. |
SetNodeState(int)
Sets the state of the node in the tree.
Declaration
void SetNodeState(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The state index |