org.pf.joi
Class ObjectSpyTreeNode

java.lang.Object
  extended by org.pf.joi.SpyTreeNode
      extended by org.pf.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.

Version:
1.0
Author:
Manfred Duchrow

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.
 java.lang.String toString()
           
 
Methods inherited from class org.pf.joi.SpyTreeNode
add, children, getAllowsChildren, getChildAt, getChildCount, getChildren, getIndex, getParent, isLeaf, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectSpyTreeNode

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

Method Detail

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()