org.geotools.gui.swing.tree |
package org.geotools.gui.swing.tree
Workaround for the missing {@code javax.swing.tree.TreeNode.getUserObject()}
method. Sun seem to have forgotten this method in the first Swing
draft. Unfortunately, since {@link javax.swing.tree.TreeNode} is an interface,
Sun can't fix it without breaking compatibility. We have to fix it ourselves,
which is the main purpose of this package.
|
Java Source File Name | Type | Comment |
DefaultMutableTreeNode.java | Class | General-purpose node in a tree data structure. |
MutableTreeNode.java | Interface | Defines the requirements for a tree node object that can change. |
NamedTreeNode.java | Class | A tree node with a name which may be different than the user object. |
NamedTreeNodeTest.java | Class | Tests
NamedTreeNode , especially the part that instantiate them using Java reflection. |
TreeNode.java | Interface | Defines the requirements for an object that can be used as a tree node in a
javax.swing.JTree . |
Trees.java | Class | Convenience static methods for trees operations. |