org.pfsw.joi
Class ElementSpyTreeNode

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

public class ElementSpyTreeNode
extends SpyTreeNode

This is a holder for ElementSpy instances. It supports their correct handling in visual trees.


Constructor Summary
ElementSpyTreeNode(ElementSpy elemSpy)
          Initialize the new instance with default values.
 
Method Summary
 Spy getModel()
          Returns the receiver's underlying model object.
protected  ElementSpy getObject()
           
protected  void setObject(ElementSpy 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

ElementSpyTreeNode

public ElementSpyTreeNode(ElementSpy elemSpy)
Initialize the new instance with default values.

Method Detail

getObject

protected ElementSpy getObject()

setObject

protected void setObject(ElementSpy 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