public interface TreeViewNode extends SupportDragAndDrop
Modifier and Type | Method and Description |
---|---|
void |
clickState()
Clicks the state icon.
|
void |
collapse()
Hides sub-nodes of this node in the expanded tree-view control.
|
void |
doubleClickState()
Double-clicks state icon.
|
void |
enableLabelEditing()
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 |
expandAll()
Expands this node and all nodes below it, in the tree-view control.
|
java.lang.String |
getFirstChildPath()
Returns the full path of the node's first child node as a semi-colon delimited String.
|
int |
getImageIndex()
Returns the image index of the node.
|
java.lang.String |
getNextSiblingPath()
Returns the full path of the node's next sibling node as a semi-colon delimited String.
|
int |
getOverlayImageIndex()
Returns the index number of the current overlay image.
|
java.lang.String |
getParentPath()
Returns the full path of the node's parent node as a semi-colon delimited String.
|
java.lang.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.
|
java.lang.String |
getText()
Returns the text of the node, or "" when empty.
|
boolean |
hasChildren()
Indicates whether the node has children.
|
boolean |
isExpanded()
Indicates whether the node is expanded.
|
boolean |
isSelected()
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.
|
dragAndDropOn, dragAndDropOn
boolean isExpanded() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getFirstChildPath() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionboolean hasChildren() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionint getImageIndex() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getNextSiblingPath() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionint getOverlayImageIndex() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getParentPath() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getPath() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionboolean isSelected() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionint getState() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionjava.lang.String getText() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid setNodeState(int index) throws GeneralLeanFtException
index
- the state index.GeneralLeanFtException
- if error occurs during executionvoid clickState() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid doubleClickState() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid collapse() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid enableLabelEditing() throws GeneralLeanFtException
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.
GeneralLeanFtException
- if error occurs during executionvoid expand() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during executionvoid expandAll() throws GeneralLeanFtException
GeneralLeanFtException
- if error occurs during execution