Package org.geotoolkit.gui.swing.tree

Workaround for the missing javax.swing.tree.TreeNode.getUserObject() method.

See:
          Description

Interface Summary
MutableTreeNode Defines the requirements for a tree node object that can change.
TreeNode Defines the requirements for an object that can be used as a tree node in a JTree.
TreeNodeFilter A filter used during the copy of a tree.
TreeTableNode Defines the requirements for an object that can be used as a tree node in a JXTreeTable.
 

Class Summary
DefaultMutableTreeNode General-purpose node in a tree data structure.
DefaultTreeModel A default tree model with the DefaultTreeModel.toString() method overridden.
NamedTreeNode A tree node with a name which may be different than the user object.
TreeFormat A parser and formatter for a tree of nodes.
Trees Convenience static methods for trees operations.
 

Package org.geotoolkit.gui.swing.tree Description

Workaround for the missing javax.swing.tree.TreeNode.getUserObject() method. Sun seems to have forgotten this method in the first Swing draft. Unfortunately, since 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.

This package provides also a few additional functionalities listed below. Those methods work on Swing tree models. Despite the fact that they are defined in a Swing package, the tree model can be used as a generic model for arbitrary applications (not limited to Swing widgets).

Since:
2.0
Version:
3.17
Author:
Martin Desruisseaux (IRD, Geomatys)
Module:
utility/geotk-utility (download)


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.