TreeNode.setNode

Overview | Methods | This Package | All Packages

TreeNode.setNode

Replaces the child node at the specified position.

Syntax

public void setNode( int index, TreeNode node )

Parameters

index

The zero-based index of the child node you want to replace.

node

A TreeNode object that represents the new node that you want insert in the place of the child node currently at the specified position.

Exceptions

WFCInvalidArgumentException thrown if the specified index is not valid.

See Also   getNode