Package com.hp.lft.sdk.stdwin
Interface TreeViewNode
- All Superinterfaces:
SupportDragAndDrop
A single tree view node belonging to a standard Windows tree-view object.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Clicks the state icon.void
collapse()
Hides sub-nodes of this node in the expanded tree-view control.void
Double-clicks state icon.void
Activates the edit mode for the node in the tree-view control to enable renaming.void
expand()
Displays hidden sub-nodes of this node in the tree-view control.void
Expands this node and all nodes below it, in the tree-view control.Returns the full path of the node's first child node as a semi-colon delimited String.int
Returns the image index of the node.Returns the full path of the node's next sibling node as a semi-colon delimited String.int
Returns the index number of the current overlay image.Returns the full path of the node's parent node as a semi-colon delimited String.getPath()
Returns the full path of the node as a semi-colon delimited String.int
getState()
Returns the state image index of the node.getText()
Returns the text of the node, or "" when empty.boolean
Indicates whether the node has children.boolean
Indicates whether the node is expanded.boolean
Indicates whether the node is selected.void
setNodeState
(int index) Sets the state of the check box icon of the specified node in the tree-view control.Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
-
Method Details
-
isExpanded
Indicates whether the node is expanded.- Returns:
- true when the node is expanded.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getFirstChildPath
Returns the full path of the node's first child node as a semi-colon delimited String.- Returns:
- the full path of the node's first child node as a semi-colon delimited String.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
hasChildren
Indicates whether the node has children.- Returns:
- true when the node has children.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getImageIndex
Returns the image index of the node.- Returns:
- the image index of the node.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getNextSiblingPath
Returns the full path of the node's next sibling node as a semi-colon delimited String.- Returns:
- the full path of the node's next sibling node as a semi-colon delimited String.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getOverlayImageIndex
Returns the index number of the current overlay image.- Returns:
- the index number of the current overlay image.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getParentPath
Returns the full path of the node's parent node as a semi-colon delimited String.- Returns:
- the full path of the node's parent node as a semi-colon delimited String.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
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
-
isSelected
Indicates whether the node is selected.- Returns:
- true when the node is selected.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getState
Returns the state image index of the node.- Returns:
- the state image index of the node.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getText
Returns the text of the node, or "" when empty.- Returns:
- the text of the node.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setNodeState
Sets the state of the check box icon of the specified node in the tree-view control.- Parameters:
index
- the state index.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
clickState
Clicks the state icon.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
doubleClickState
Double-clicks state icon.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
collapse
Hides sub-nodes of this node in the expanded tree-view control.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
enableLabelEditing
Activates the edit mode for the node in the tree-view control to enable renaming.IMPORTANT: This method only enables the node for renaming. To actually rename the node, you must set its value using the EditField or Editor test object, together with an applicable method.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
expand
Displays hidden sub-nodes of this node in the tree-view control.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
expandAll
Expands this node and all nodes below it, in the tree-view control.- Throws:
GeneralLeanFtException
- if error occurs during execution
-