Interface ITreeViewBase
A base Java Tree.
Namespace: HP.LFT.SDK.Java
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITreeViewBase
Methods
BuildNodePath(params object[])
Returns the path of a node in the tree.
Declaration
string BuildNodePath(params object[] nodePathParts)
Parameters
| Type | Name | Description |
|---|---|---|
| object[] | nodePathParts | 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
| Type | Description |
|---|---|
| string |
Deselect(params string[])
Clears the selection of nodes in the tree by nodes paths.
Declaration
void Deselect(params string[] nodesPaths)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | nodesPaths | 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.
Declaration
void DeselectRange(string fromNodePath, string toNodePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fromNodePath | 0-based index of the first node in the range |
| string | toNodePath | 0-based index of the last node of the range |
ExtendSelect(params string[])
Selects additional nodes in the tree.
Declaration
void ExtendSelect(params string[] nodesPaths)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | nodesPaths | The paths of the nodes to add to the selection. |
Select(params string[])
Selects the specified nodes in the tree by nodes paths.
Declaration
void Select(params string[] nodesPaths)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | nodesPaths | 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.
Declaration
void SelectRange(string fromNodePath, string toNodePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fromNodePath | The path of the first node in the range |
| string | toNodePath | The path of the last node of the range |