Package com.hp.lft.sdk.sap.gui
Interface TreeViewNode
public interface TreeViewNode
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivateItem(int itemIndex) Activates an item in a column tree or list tree.voidactivateItem(String item) Activates an item in a column tree or list tree.voidclickButton(int itemIndex) Clicks a button item in a column tree or list tree.voidclickButton(String item) Clicks a button item in a column tree or list tree.voidclickLink(int itemIndex) Clicks a link item in a column tree or list tree.voidClicks a link item in a column tree or list tree.voidcollapse()Hides sub-nodes of this node in the expanded tree control.voidexpand()Displays hidden sub-nodes of this node in the tree control.getPath()Returns the full path of the node as a semi-colon delimited String.voidOpens the context menu for a node in a simple tree.voidopenItemContextMenu(String item) Opens the context menu for an item in a column tree or list tree.voidselect(int itemIndex) Selects an item in a column tree or list tree.voidSelects an item in a column tree or list tree.voidsetCheckBoxState(int itemIndex, boolean state) Selects or unselects a check box item for the specified node in a column tree or list tree.voidsetCheckBoxState(String item, boolean state) Selects or unselects a check box item for the specified node in a column tree or list tree.
-
Method Details
-
getPath
Returns the full path of the node as a semi-colon delimited String.- Returns:
- the full path of the node as a semi-colon delimited String.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
collapse
Hides sub-nodes of this node in the expanded tree control.- Throws:
GeneralLeanFtException- if error occurs during execution
-
expand
Displays hidden sub-nodes of this node in the tree control.- Throws:
GeneralLeanFtException- if error occurs during execution
-
clickButton
Clicks a button item in a column tree or list tree.- Parameters:
item- the text of the button item.- Throws:
GeneralLeanFtException- if error occurs during execution
-
clickButton
Clicks a button item in a column tree or list tree.- Parameters:
itemIndex- 1-based.- Throws:
GeneralLeanFtException- if error occurs during execution
-
clickLink
Clicks a link item in a column tree or list tree.- Parameters:
item- the text of the link item.- Throws:
GeneralLeanFtException- if error occurs during execution
-
clickLink
Clicks a link item in a column tree or list tree.- Parameters:
itemIndex- 1-based.- Throws:
GeneralLeanFtException- if error occurs during execution
-
openItemContextMenu
Opens the context menu for an item in a column tree or list tree.- Parameters:
item- the text of the item whose context menu you want to open.- Throws:
GeneralLeanFtException- if error occurs during execution
-
openContextMenu
Opens the context menu for a node in a simple tree.- Throws:
GeneralLeanFtException- if error occurs during execution
-
setCheckBoxState
Selects or unselects a check box item for the specified node in a column tree or list tree.- Parameters:
item- the text of the check box tree item.state- true to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
setCheckBoxState
Selects or unselects a check box item for the specified node in a column tree or list tree.- Parameters:
itemIndex- 1-based index of the check box tree item.state- true to select.- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects an item in a column tree or list tree.- Parameters:
item- the text of the item.- Throws:
GeneralLeanFtException- if error occurs during execution
-
select
Selects an item in a column tree or list tree.- Parameters:
itemIndex- 1-based.- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateItem
Activates an item in a column tree or list tree.- Parameters:
item- the text of the item to activate.- Throws:
GeneralLeanFtException- if error occurs during execution
-
activateItem
Activates an item in a column tree or list tree.- Parameters:
itemIndex- 1-based.- Throws:
GeneralLeanFtException- if error occurs during execution
-