|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
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. |
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).
Trees class.TreeTableNode interface used as a bridge
toward Swingx JXTreeTable.TreeNodeFilter interface for copying a portion
of a tree.DefaultMutableTreeNode.toString() can
format InternationalString according a Locale.
| utility/geotk-utility (download) |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||