Package com.hp.lft.sdk.winforms
Interface TreeViewNode
- All Superinterfaces:
- SupportDragAndDrop
A tree view node of a .NET Windows Forms 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 the state icon.voidActivates the edit mode for the node in the tree-view control to enable renaming.voidexpand()Displays direct sub-nodes of this node in the tree-view control.voidDisplays all nodes of the sub-tree that has this node as the root.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 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()The text of this node.booleanIndicates whether the node has children.booleanIndicates whether this node is currently expanded.booleanIndicates whether this 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 this node is currently expanded.- Returns:
- true if 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 path
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasChildrenIndicates whether the node has children.- Returns:
- true if the node has children.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getImageIndexReturns the image index of the node.- Returns:
- the image index
- 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 path
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getOverlayImageIndexReturns the index of the current overlay image.- Returns:
- the index
- 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 parent's path
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getPathReturns the full path of the node as a semi-colon delimited string.- Returns:
- the path
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isSelectedIndicates whether this node is selected.- Returns:
- true if selected
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getStateReturns the state image index of the node.- Returns:
- the index
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTextThe text of this node. Returns an empty string if the node does not contain any text.- Returns:
- the text
- 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 the 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.
 This method only enables the node for renaming. To actually rename the node, you must set its value using theEditFieldorEditortest object, together with an applicable method.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
expandDisplays direct sub-nodes of this node in the tree-view control.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
expandAllDisplays all nodes of the sub-tree that has this node as the root.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-