Where Am I? Class Hierarchy (JFC) All Classes (JFC)

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

public interface TreeNode


Method Index

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

Methods

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

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

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

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.

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

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

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


Where Am I? Class Hierarchy (JFC) All Classes (JFC)