org.pfsw.joi
Class ObjectSpyTreeNode
java.lang.Object
org.pfsw.joi.SpyTreeNode
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.
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 |
ObjectSpyTreeNode
public ObjectSpyTreeNode(AbstractObjectSpy objSpy)
- Initialize the new instance with default values.
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()