## Uses of Interface
org.apache.tapestry5.tree.TreeNode

- Packages that use TreeNode
  Package | Description
  --- | ---
  org.apache.tapestry5.tree | Classes and interfaces used by the `Tree` component

- - ### Uses of TreeNode in org.apache.tapestry5.tree

    Methods in org.apache.tapestry5.tree that return TreeNode
    Modifier and Type | Method and Description
    --- | ---
    `TreeNode<T>` | TreeModel.`find(T element)` Recursively searches from the root nodes to find the tree node that matches the provided element.
    `TreeNode<T>` | DefaultTreeModel.`find(T element)`
    `TreeNode<T>` | TreeModel.`getById(String id)` Locates a node in the tree by its unique id.
    `TreeNode<T>` | DefaultTreeModel.`getById(String id)`

    Methods in org.apache.tapestry5.tree that return types with arguments of type TreeNode
    Modifier and Type | Method and Description
    --- | ---
    `List<TreeNode<T>>` | TreeNode.`getChildren()` Returns the actual children of this non-leaf node, as additional nodes.
    `List<TreeNode<T>>` | TreeModel.`getRootNodes()` Returns the node or nodes that are the top level of the tree.
    `List<TreeNode<T>>` | DefaultTreeModel.`getRootNodes()`

    Methods in org.apache.tapestry5.tree with parameters of type TreeNode
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | DefaultTreeExpansionModel.`isExpanded(TreeNode<T> node)`
    `boolean` | TreeExpansionModel.`isExpanded(TreeNode<T> node)` Returns true if the node has been previously expanded.
    `boolean` | DefaultTreeSelectionModel.`isSelected(TreeNode<T> node)`
    `boolean` | TreeSelectionModel.`isSelected(TreeNode<T> node)` Returns `true`, if the given node is selected.
    `void` | DefaultTreeExpansionModel.`markCollapsed(TreeNode<T> node)`
    `void` | TreeExpansionModel.`markCollapsed(TreeNode<T> node)` Marks the node as collapsed (not expanded).
    `void` | DefaultTreeExpansionModel.`markExpanded(TreeNode<T> node)`
    `void` | TreeExpansionModel.`markExpanded(TreeNode<T> node)` Marks the node as expanded.
    `void` | DefaultTreeSelectionModel.`select(TreeNode<T> node)`
    `void` | TreeSelectionModel.`select(TreeNode<T> node)` Selects a node.
    `void` | DefaultTreeSelectionModel.`unselect(TreeNode<T> node)`
    `void` | TreeSelectionModel.`unselect(TreeNode<T> node)` Unselects a node.

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.