API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.tree. TreeNode View Source
Author(s)
Rob Davis
Scott Violet
Since
Version
1.25 11/17/05
Serial
Hierarchy
 TreeNode
Subinterfaces
Description
public interface TreeNode
  Defines the requirements for an object that can be used as a tree node in a JTree.
See also:   
Methods
Hide/Show inherited methods
public Enumeration children ()
Returns the children of the receiver as an Enumeration.
public boolean getAllowsChildren ()
Returns true if the receiver allows children.
public TreeNode getChildAt (int childIndex)
Returns the child TreeNode at index childIndex.
public int getChildCount ()
Returns the number of children TreeNodes the receiver contains.
public int getIndex (TreeNode node)
  Returns the index of node in the receivers children.
public TreeNode getParent ()
Returns the parent TreeNode of the receiver.
public boolean isLeaf ()
Returns true if the receiver is a leaf.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar