Microsoft SDK for Java

TreeView.getSelectedNode

Retrieves the currently selected node in the tree view control.

Syntax

public TreeNode getSelectedNode()

Return Value

Returns a TreeNode object that represents the currently selected node in the tree view control. If no node is currently selected, returns null.

See Also   setSelectedNode

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