This object represents a Java tree node. The object is not defined in the Repository, and it cannot be created by calling its constructor. A JavaTreeNode object can therefore be obtained only by calling the entire tree, or by using other nodes.
Method |
Description |
---|---|
public void Expand(); |
Expands the tree from the root node until the specified sub-node. |
public void Collapse(); |
Collapses the tree until the specified sub-node. |
public bool Selected {get;set} |
Gets or sets the selected status of a specified node. |
public JavaTreeNode SubNode(string caption); |
Builds the path of a sub-node according to its caption. |
public JavaTreeNode SubNode(int index); |
Builds the path of a sub-node according to its index under the parent node (zero based). |
public int Count {get;} |
Gets the number of sub-nodes that are directly under a specified node. |
public JavaTreeNode[] SelectedSubNodes {get;} |
Gets the selected direct children of the node. |
public string Caption {get;} |
Gets the caption of a specified node. |
public string Index {get;} |
Gets the index position of a specified sub-node, relative to its parent (zero based). |
public void Click(); |
Simulates a left click on a specified sub-node. |
public void RightClick(); |
Simulates a right click on a specified sub-node. |