モジュール java.desktop
パッケージ javax.swing.tree

インタフェースTreeNode

既知のすべてのサブインタフェース:
MutableTreeNode
既知のすべての実装クラス:
AbstractDocument.AbstractElement, AbstractDocument.BranchElement, AbstractDocument.LeafElement, DefaultMutableTreeNode, DefaultStyledDocument.SectionElement, HTMLDocument.BlockElement, HTMLDocument.RunElement, JTree.DynamicUtilTreeNode

public interface TreeNode
JTree内のツリー・ノードとして使用できるオブジェクトに関する要求を定義します。

equalsをオーバーライドするTreeNodeの実装であり、通常、hashCodeもオーバーライドする必要があります。 詳細は、TreeModelを参照してください。 ツリー・ノードの詳細および使用例は、「The Java Tutorial」の「How to Use Tree Nodes」を参照してください。