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 Concurrency in Swing, a section in The Java Tutorial.
Modifier and Type | Interface and Description |
---|---|
public interface | 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. |
public interface | RowMapper
Defines the requirements for an object that translates paths in the tree into display rows. |
public interface | TreeCellEditor
Adds to CellEditor the extensions necessary to configure an editor in a tree. |
public interface | TreeCellRenderer
Defines the requirements for an object that displays a tree node. |
public interface | TreeModel
The model used by |
public interface | TreeNode
Defines the requirements for an object that can be used as a tree node in a JTree. |
public interface | TreeSelectionModel
This interface represents the current state of the selection for the tree component. |
Modifier and Type | Class and Description |
---|---|
public abstract class | AbstractLayoutCache
Warning Serialized objects of this class will not be compatible with future Swing releases. |
public class | DefaultMutableTreeNode
A |
public class | DefaultTreeCellEditor
A |
public class | DefaultTreeCellRenderer
Displays an entry in a tree. |
public class | DefaultTreeModel
A simple tree data model that uses TreeNodes. |
public class | DefaultTreeSelectionModel
Default implementation of TreeSelectionModel. |
public class | ExpandVetoException
Exception used to stop an expand/collapse from happening. |
public class | FixedHeightLayoutCache
Warning Serialized objects of this class will not be compatible with future Swing releases. |
pack-priv class | PathPlaceHolder
Holds a path and whether or not it is new. |
public class | TreePath
|
public class | VariableHeightLayoutCache
Warning Serialized objects of this class will not be compatible with future Swing releases. |