Package javax.swing.tree
javax.swing.JTree
.See: Description
-
Interface Summary Interface Description 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 model used byJTree
.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 Class Description AbstractLayoutCache Warning: Serialized objects of this class will not be compatible with future Swing releases.AbstractLayoutCache.NodeDimensions Used byAbstractLayoutCache
to determine the size and x origin of a particular node.DefaultMutableTreeNode ADefaultMutableTreeNode
is a general-purpose node in a tree data structure.DefaultTreeCellEditor ATreeCellEditor
.DefaultTreeCellRenderer Displays an entry in a tree.DefaultTreeModel A simple tree data model that uses TreeNodes.DefaultTreeSelectionModel Default implementation of TreeSelectionModel.FixedHeightLayoutCache NOTE: This will become more open in a future release.TreePath TreePath
represents an array of objects that uniquely identify the path to a node in a tree.VariableHeightLayoutCache NOTE: This will become more open in a future release. -
Exception Summary Exception Description ExpandVetoException Exception used to stop and expand/collapse from happening.
Package javax.swing.tree Description
javax.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.
Note: Most of the Swing API is not thread safe. For details, see Threads and Swing, a section in The Java Tutorial.
Related Documentation
For overviews, tutorials, examples, guides, and tool documentation, please see:- How to Use Trees, a section in The Java Tutorial
- Since:
- 1.2
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/tree/package-summary.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.