Interface ITreeViewNode
A tree node of a SAP GUI tree object.
Namespace: HP.LFT.SDK.SAP.GUI
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITreeViewNode
Properties
Path
The full path of the node as a semi-colon delimited string.
Declaration
string Path { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
ActivateItem(string)
Activates an item in this node of a SAP column tree or list tree, by item text.
Declaration
void ActivateItem(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The text. |
ActivateItem(uint)
Activates an item in this node of a SAP column tree or list tree, by item index.
Declaration
void ActivateItem(uint itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | 1-based. |
ClickButton(string)
Clicks the specified button item in this node of a SAP column tree or list tree, by button text.
Declaration
void ClickButton(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The button text. |
ClickButton(uint)
Clicks the specified button item in this node of a SAP column tree or list tree, by index.
Declaration
void ClickButton(uint itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | The 1-based button index. |
ClickLink(string)
Clicks a link item in this node of a SAP column tree or list tree, by link text.
Declaration
void ClickLink(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The text. |
ClickLink(uint)
Clicks a link item in this node of a SAP column tree or list tree, by link index.
Declaration
void ClickLink(uint itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | 1-based. |
Collapse()
Hides this node's sub-nodes in the expanded tree object.
Declaration
void Collapse()
Expand()
Displays this node's sub-nodes in the tree object.
Declaration
void Expand()
OpenContextMenu()
Opens the context menu for this node of a SAP simple tree.
Declaration
void OpenContextMenu()
OpenItemContextMenu(string)
Opens the context menu for the specified item in this node of a SAP column tree or list tree.
Declaration
void OpenItemContextMenu(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The text of the item. |
Select(string)
Selects an item in this node of a SAP column tree or list tree, by item text.
Declaration
void Select(string item)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The text of the item. |
Select(uint)
Selects an item in this node of a SAP column tree or list tree, by item index.
Declaration
void Select(uint itemIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | 1-based. |
SetCheckBoxState(string, bool)
Selects or unselects a check box item for this node of a SAP column tree or list tree, by checkbox text.
Declaration
void SetCheckBoxState(string item, bool state)
Parameters
| Type | Name | Description |
|---|---|---|
| string | item | The text of the check box. |
| bool | state | True to select. |
SetCheckBoxState(uint, bool)
Selects or unselects a check box item for this node of a SAP column tree or list tree, by checkbox index.
Declaration
void SetCheckBoxState(uint itemIndex, bool state)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | itemIndex | 1-based. |
| bool | state | True to select. |