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 SummaryModifier and TypeMethodDescriptionvoidClicks the state icon.voidcollapse()Hides sub-nodes of this node in the expanded tree-view control.voidDouble-clicks state icon.voidActivates the edit mode for the node in the tree-view control to enable renaming.voidexpand()Displays hidden sub-nodes of this node in the tree-view control.voidExpands 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.intReturns the image index of the node.Returns the full path of the node's next sibling node as a semi-colon delimited String.intReturns 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.intgetState()Returns the state image index of the node.getText()Returns the text of the node, or "" when empty.booleanIndicates whether the node has children.booleanIndicates whether the node is expanded.booleanIndicates whether the node is selected.voidsetNodeState(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.SupportDragAndDropdragAndDropOn, dragAndDropOn
- 
Method Details- 
isExpandedIndicates whether the node is expanded.- Returns:
- true when the node is expanded.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getFirstChildPathReturns 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
 
- 
hasChildrenIndicates whether the node has children.- Returns:
- true when the node has children.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getImageIndexReturns the image index of the node.- Returns:
- the image index of the node.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNextSiblingPathReturns 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
 
- 
getOverlayImageIndexReturns the index number of the current overlay image.- Returns:
- the index number of the current overlay image.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getParentPathReturns 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
 
- 
getPathReturns 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
 
- 
isSelectedIndicates whether the node is selected.- Returns:
- true when the node is selected.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getStateReturns the state image index of the node.- Returns:
- the state image index of the node.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTextReturns the text of the node, or "" when empty.- Returns:
- the text of the node.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setNodeStateSets 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
 
- 
clickStateClicks the state icon.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
doubleClickStateDouble-clicks state icon.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
collapseHides sub-nodes of this node in the expanded tree-view control.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
enableLabelEditingActivates 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
 
- 
expandDisplays hidden sub-nodes of this node in the tree-view control.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
expandAllExpands this node and all nodes below it, in the tree-view control.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-