Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
OverviewMethodsThis PackageAll Packages
TreeView.addNode
Adds a root node to the tree view control.
Syntax
public TreeNode addNode( String text )
public void addNode( TreeNode node )
Parameters
text
The text for the new tree node.
node
A TreeNode object that represents the root node to add to the tree view control.
Return Value
Returns a TreeNode object that represents the new node.
Remarks
To add a set of tree nodes at one time, use the setNodes method. To insert a node into the tree view control at a specific position, use the insertNode method.