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.
RowMapperDefines the requirements for an object that translates paths in the tree into display rows.
TreeCellEditorAdds to CellEditor the extensions necessary to configure an editor in a tree.
TreeCellRendererDefines the requirements for an object that displays a tree node.
TreeModelThe model used by JTree
.
Defines the requirements for an object that can be used as a tree node in a JTree.
TreeSelectionModelThis interface represents the current state of the selection for the tree component.
Exception used to stop and expand/collapse from happening.
Provides classes and interfaces for dealing with
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 DocumentationFor overviews, tutorials, examples, guides, and tool documentation, please see:
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3