Package com.hp.lft.sdk.java
Interface TreeViewNode
public interface TreeViewNode
A single node in a Java Tree.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clicks the state icon of a node in a tree.void
collapse()
Collapses an expandable node in a tree.void
Double-clicks state icon of a node in a tree.void
expand()
Expands an expandable node in a tree.getColumnValue
(int columnIndex) Returns the text of the column with the specified index.getColumnValue
(String columnName) Returns the text of the column with the specified name.getPath()
Returns the path to the node in the tree.void
Opens the context menu of a node in a tree.void
setChecked
(boolean state) Sets the state of the node in the tree.void
setNodeState
(int index) Sets the state of the node in the tree.
-
Method Details
-
collapse
Collapses an expandable node in a tree.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
expand
Expands an expandable node in a tree.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
openContextMenu
Opens the context menu of a node in a tree.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setNodeState
Sets the state of the node in the tree.- Parameters:
index
- the state index.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setChecked
Sets the state of the node in the tree.- Parameters:
state
- The new state of the check box: true - Checked, false - Unchecked.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
clickState
Clicks the state icon of a node in a tree.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
doubleClickState
Double-clicks state icon of a node in a tree.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getColumnValue
Returns the text of the column with the specified index.- Parameters:
columnIndex
- 0-based index of the column.- Returns:
- the text of the column of this node.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getColumnValue
Returns the text of the column with the specified name.- Parameters:
columnName
- the name of the column.- Returns:
- the text of the column of this node.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getPath
String getPath()Returns the path to the node in the tree.- Returns:
- the path to the node in the tree
-