Package: javax.swing.tree

## [Java] Interface TreeNode

-     public interface TreeNode

  GDK enhancements for TreeNode.

  displayName:
    TreeNode
  receiverFqcn:
    javax.swing.tree.TreeNode

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public TreeNode` | `getAt(int index)` Support the subscript operator for TreeNode.
    `` | `public Iterator<TreeNode>` | `iterator()` Returns an Iterator which traverses the TreeNode one node at a time.
    `` | `public int` | `size()` Provide the standard Groovy `size()` method for `TreeNode`.

- - ### Method Detail

    - #### public TreeNode getAt(int index)

      Support the subscript operator for TreeNode.

      Parameters:
        `index` - the index of the child node to get
      Returns:
        the child node at the given index
      Since:
        1.6.4

    - #### public Iterator<TreeNode> iterator()

      Returns an Iterator which traverses the TreeNode one node at a time.

      Returns:
        an Iterator for a TreeNode
      Since:
        1.6.4

    - #### public int size()

      Provide the standard Groovy `size()` method for `TreeNode`.

      Returns:
        the child count of the treeNode
      Since:
        1.6.4