All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.sun.java.swing.tree.TreeNode

public interface TreeNode

Method Index

 o children()
Returns the children of the reciever as an Enumeration.
 o getAllowsChildren()
Returns true if the receiver allows children.
 o getChildAt(int)
Returns the child TreeNode at index childIndex.
 o getChildCount()
Returns the number of children TreeNodes the receiver contains.
 o getIndex(TreeNode)
Returns the index of node in the receivers children.
 o getParent()
Returns the parent TreeNode of the receiver.
 o isLeaf()
Returns true if the receiver is a leaf.

Methods

 o getChildAt
 public abstract TreeNode getChildAt(int childIndex)
Returns the child TreeNode at index childIndex.

 o getChildCount
 public abstract int getChildCount()
Returns the number of children TreeNodes the receiver contains.

 o getParent
 public abstract TreeNode getParent()
Returns the parent TreeNode of the receiver.

 o getIndex
 public abstract int getIndex(TreeNode node)
Returns the index of node in the receivers children. If the receiver does not contain node, -1 will be returned.

 o getAllowsChildren
 public abstract boolean getAllowsChildren()
Returns true if the receiver allows children.

 o isLeaf
 public abstract boolean isLeaf()
Returns true if the receiver is a leaf.

 o children
 public abstract Enumeration children()
Returns the children of the reciever as an Enumeration.


All Packages  Class Hierarchy  This Package  Previous  Next  Index