Package com.hp.lft.sdk.sap.gui
Interface TreeViewNode
public interface TreeViewNode
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateItem
(int itemIndex) Activates an item in a column tree or list tree.void
activateItem
(String item) Activates an item in a column tree or list tree.void
clickButton
(int itemIndex) Clicks a button item in a column tree or list tree.void
clickButton
(String item) Clicks a button item in a column tree or list tree.void
clickLink
(int itemIndex) Clicks a link item in a column tree or list tree.void
Clicks a link item in a column tree or list tree.void
collapse()
Hides sub-nodes of this node in the expanded tree control.void
expand()
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.void
Opens the context menu for a node in a simple tree.void
openItemContextMenu
(String item) Opens the context menu for an item in a column tree or list tree.void
select
(int itemIndex) Selects an item in a column tree or list tree.void
Selects an item in a column tree or list tree.void
setCheckBoxState
(int itemIndex, boolean state) Selects or unselects a check box item for the specified node in a column tree or list tree.void
setCheckBoxState
(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
-