01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2003-2006, Geotools Project Managment Committee (PMC)
05: * (C) 2001, Institut de Recherche pour le Développement
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation; either
10: * version 2.1 of the License, or (at your option) any later version.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.gui.swing.tree;
18:
19: /**
20: * Defines the requirements for a tree node object that can change. It may changes by adding or
21: * removing child nodes, or by changing the contents of a user object stored in the node. This
22: * interface inherits the {@link #getUserObject getUserObject()} method from Geotools's
23: * {@link TreeNode}. This is needed because the Swing's {@link javax.swing.tree.MutableTreeNode}
24: * interface defines a {@link #setUserObject(Object) setUserObject(Object)} method but doesn't
25: * define or inherit any {@code getUserObject()}.
26: *
27: * @since 2.0
28: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/extension/widgets-swing/src/main/java/org/geotools/gui/swing/tree/MutableTreeNode.java $
29: * @version $Id: MutableTreeNode.java 20883 2006-08-07 13:48:09Z jgarnett $
30: * @author Martin Desruisseaux
31: */
32: public interface MutableTreeNode extends
33: javax.swing.tree.MutableTreeNode, TreeNode {
34: }
|