Microsoft SDK for Java

TreeNode.setNodes

Adds a set of child nodes to this node.

Syntax

public void setNodes( TreeNode[] nodes )

Parameters

nodes

A zero-based array of TreeNode objects that represent the child nodes you want to add to this node.

Remarks

This method removes all existing child nodes from this node before inserting the new nodes.

See Also   getNodes

© 1999 Microsoft Corporation. All rights reserved. Terms of use.