package org.aswing.tree

AbstractLayoutCache

@author paling

DefaultMutableTreeNode

A DefaultMutableTreeNode is a general-purpose node in a tree data structure.

DefaultTreeCell

The default cell for tree. @author paling

DefaultTreeModel

A simple tree data model that uses TreeNodes.

DefaultTreeSelectionModel

Default implementation of TreeSelectionModel. Listeners are notified whenever the paths in the selection change, not the rows. In order to be able to track row changes you may wish to become a listener for expansion events on the tree and test for changes from there.

resetRowSelection is called from any of the methods that update the selected paths. If you subclass any of these methods to filter what is allowed to be selected, be sure and message resetRowSelection if you do not message super.

EmptySelectionModel
EnumerationInfo

@author paling

FHTreeStateNode

FHTreeStateNode is used to track what has been expanded. FHTreeStateNode differs from VariableHeightTreeState.TreeStateNode in that it is highly model intensive. That is almost all queries to a FHTreeStateNode result in the TreeModel being queried. And it obviously does not support variable sized row heights. @author paling

FixedHeightLayoutCache

@author paling

GeneralTreeCellFactory

@author paling

GeneralTreeCellFactoryUIResource

@author paling

MutableTreeNode

Defines the requirements for a tree node object that can change -- by adding or removing child nodes, or by changing the contents of a user object stored in the node.

NodeDimensions

Used by AbstractLayoutCache to determine the size and x origin of a particular node. @author paling

PathPlaceHolder

@author paling

RowMapper

Defines the requirements for an object that translates paths in the tree into display rows. @author paling

SearchInfo

@author paling

TreeCell

@author paling

TreeCellEditor

@author paling

TreeCellFactory

TreeCellFactory for create cells for tree @author paling

TreeFolderIcon

The default folder icon for JTree. TODO draw a nicer icon @author paling

TreeLeafIcon

The default leaf icon for JTree. TODO draw a nicer icon @author paling

TreeModel

The interface that defines a suitable data model for a JTree. For further information on tree models, including an example of a custom implementation, see <a href="http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html">How to Use Trees in The Java Tutorial.

JTree and its related classes make extensive use of TreePaths for indentifying nodes in the TreeModel. If a TreeModel returns the same object, as compared by equals, at two different indices under the same parent than the resulting TreePath objects will be considered equal as well. Some implementations may assume that if two TreePaths are equal, they identify the same node. If this condition is not met, painting problems and other oddities may result. In other words, if getChild for a given parent returns the same Object (as determined by equals) problems may result, and it is recommended you avoid doing this.
(Fully quoted from java swing's tree doc)

TreeNode

Defines the requirements for an object that can be used as a tree node in a JTree.

TreePath

TODO make TreePash faster as hashmap key @author paling

TreePathMap

A hash map that accept TreePath key. @author paling

TreeSelectionModel

This interface represents the current state of the selection for the tree component. For information and examples of using tree selection models, see How to Use Trees in The Java Tutorial.