org.geotools.gui.swing.tree
Interface TreeNode

All Superinterfaces:
TreeNode
All Known Subinterfaces:
MutableTreeNode

public interface TreeNode
extends TreeNode

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

Since:
2.0
Author:
Martin Desruisseaux (IRD)
Module:

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

Method Detail

getUserObject

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

Returns:
the Object stored at this node by the user


Copyright © 1996-2009 Geotools. All Rights Reserved.