|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pf.joi.SpyTreeNode
public abstract class SpyTreeNode
This is the abstract superclass for all types of tree nodes in a JavaSpy.
Constructor Summary | |
---|---|
SpyTreeNode()
Initialize the new instance with default values. |
Method Summary | |
---|---|
void |
add(SpyTreeNode node)
Adds the given tree node to the receiver's children. |
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 TreeNodes the receiver contains. |
java.util.Vector |
getChildren()
|
int |
getIndex(javax.swing.tree.TreeNode node)
Returns the index of node in the receivers children. |
abstract Spy |
getModel()
Returns the receiver's underlying model object. |
javax.swing.tree.TreeNode |
getParent()
|
boolean |
isLeaf()
Returns true if the receiver is a leaf. |
void |
setParent(javax.swing.tree.TreeNode newValue)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpyTreeNode()
Method Detail |
---|
public javax.swing.tree.TreeNode getParent()
getParent
in interface javax.swing.tree.TreeNode
public void setParent(javax.swing.tree.TreeNode newValue)
public java.util.Vector getChildren()
public abstract Spy getModel()
public void add(SpyTreeNode node)
public java.util.Enumeration children()
children
in interface javax.swing.tree.TreeNode
public int getChildCount()
getChildCount
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 javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode node)
getIndex
in interface javax.swing.tree.TreeNode
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |