JavaTM 2 Platform
Standard Edition

Package javax.swing.tree

Provides classes and interfaces for dealing with java.awt.swing.JTree.

See:
          Description

Interface Summary
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.
RowMapper Defines the requirements for an object that translates paths in the tree into display rows.
TreeCellEditor Adds to CellEditor the extensions necessary to configure an editor in a tree.
TreeCellRenderer Defines the requirements for an object that displays a tree node.
TreeModel The interface that defines a suitable data model for a JTree.
TreeNode Defines the requirements for an object that can be used as a tree node in a JTree.
TreeSelectionModel This interface represents the current state of the selection for the tree component.
 

Class Summary
AbstractLayoutCache Warning: Serialized objects of this class will not be compatible with future Swing releases.
AbstractLayoutCache.NodeDimensions Used by AbstractLayoutCache to determing the size and x origin of a particular node.
DefaultMutableTreeNode A DefaultMutableTreeNode is a general-purpose node in a tree data structure.
DefaultTreeCellEditor A TreeCellEditor.
DefaultTreeCellRenderer Displays an entry in a tree.
DefaultTreeModel A simple tree data model that uses TreeNodes.
DefaultTreeSelectionModel Implementation of TreeSelectionModel.
FixedHeightLayoutCache NOTE: This will become more open in a future release.
TreePath Represents a path to a node.
VariableHeightLayoutCache NOTE: This will become more open in a future release.
 

Exception Summary
ExpandVetoException Exception used to stop and expand/collapse from happening.
 

Package javax.swing.tree Description

Provides classes and interfaces for dealing with java.awt.swing.JTree. You use these classes and interfaces if you want control over how trees are constructed, updated, and rendered, as well as how data associated with the tree nodes are viewed and managed. ##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####

Related Documentation

For overviews, tutorials, examples, guides, and tool documentation, please see: -->

Since:
JDK1.2

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.