Interface TreeNode<T>

Type Parameters:
T - type of node

public interface TreeNode<T>
A node within a TreeModel. In a DefaultTreeModel, most of the node's information comes via the TreeModelAdapter.
Since:
5.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the actual children of this non-leaf node, as additional nodes.
    boolean
    Returns true if this non-leaf node has child nodes.
    Returns a string Id for the node that uniquely identifies it.
    Returns a textual label for the node.
    Returns the value represented by this node.
    boolean
    If true, then this node is a leaf node, which never has children (i.e., a file).