org.pfsw.joi
Class ObjectSpyTreeNode

java.lang.Object
  extended by org.pfsw.joi.SpyTreeNode
      extended by org.pfsw.joi.ObjectSpyTreeNode
All Implemented Interfaces:
javax.swing.tree.TreeNode

public class ObjectSpyTreeNode
extends SpyTreeNode

This tree node is a holder for ObjectSpy instances. It supports the correct handling of such instances in a tree.


Constructor Summary
ObjectSpyTreeNode(AbstractObjectSpy objSpy)
          Initialize the new instance with default values.
 
Method Summary
 int getElementCount()
           
 Spy getModel()
          Returns the receiver's underlying model object.
protected  AbstractObjectSpy getObject()
           
protected  void setObject(AbstractObjectSpy newValue)
           
 java.lang.String toString()
           
 
Methods inherited from class org.pfsw.joi.SpyTreeNode
add, children, getAllowsChildren, getChildAt, getChildCount, getChildren, getIndex, getParent, isLeaf, setChildren, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectSpyTreeNode

public ObjectSpyTreeNode(AbstractObjectSpy objSpy)
Initialize the new instance with default values.

Method Detail

getObject

protected AbstractObjectSpy getObject()

setObject

protected void setObject(AbstractObjectSpy newValue)

getModel

public Spy getModel()
Returns the receiver's underlying model object.

Specified by:
getModel in class SpyTreeNode

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getElementCount

public int getElementCount()