org.geotools.gui.swing.tree
Interface TreeNode

All Superinterfaces:
javax.swing.tree.TreeNode
All Known Subinterfaces:
MutableTreeNode
All Known Implementing Classes:
DefaultMutableTreeNode

public interface TreeNode
extends javax.swing.tree.TreeNode

Defines the requirements for an object that can be used as a tree node in a JTree. This interface add the to Swing's interface, which seems to have been forgotten in J2SE.

Since:
2.0
Version:
$Id: TreeNode.java 17672 2006-01-19 00:25:55Z desruisseaux $
Author:
Martin Desruisseaux

Method Summary
 java.lang.Object getUserObject()
          Returns this node's user object.
 
Methods inherited from interface javax.swing.tree.TreeNode
children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf
 

Method Detail

getUserObject

public java.lang.Object getUserObject()
Returns this node's user object.

Returns:
the Object stored at this node by the user


Copyright © GeoTools. All Rights Reserved.