|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.electric.tool.io.input.EpicAnalysis.EpicTreeNode
public static class EpicAnalysis.EpicTreeNode
EpicTreeNode ********************************************* This class denotes an element of a Context. It partially implements TreeNode (without getParent).
Method Summary | |
---|---|
java.util.Enumeration |
children()
Returns the children of the receiver as an Enumeration . |
boolean |
getAllowsChildren()
Returns true if the receiver allows children. |
javax.swing.tree.TreeNode |
getChildAt(int childIndex)
Returns the child TreeNode at index
childIndex . |
int |
getChildCount()
Returns the number of children TreeNode s the receiver
contains. |
int |
getIndex(javax.swing.tree.TreeNode node)
Returns the index of node in the receivers children. |
javax.swing.tree.TreeNode |
getParent()
Returns the parent TreeNode of the receiver. |
boolean |
isLeaf()
Returns true if the receiver is a leaf. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public javax.swing.tree.TreeNode getChildAt(int childIndex)
TreeNode
at index
childIndex
.
getChildAt
in interface javax.swing.tree.TreeNode
public int getChildCount()
TreeNode
s the receiver
contains.
getChildCount
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getParent()
TreeNode
of the receiver.
getParent
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode node)
node
in the receivers children.
If the receiver does not contain node
, -1 will be
returned.
getIndex
in interface javax.swing.tree.TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
public java.util.Enumeration children()
Enumeration
.
children
in interface javax.swing.tree.TreeNode
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |