org.browsecode.helpers.display
Class OneObjectViewer

java.lang.Object
  extended by org.browsecode.helpers.display.LazyNodeViewer
      extended by org.browsecode.helpers.display.OneObjectViewer
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, javax.swing.tree.TreeNode, BasicObject

public class OneObjectViewer
extends LazyNodeViewer
implements java.beans.PropertyChangeListener


Constructor Summary
OneObjectViewer(javax.swing.tree.TreeNode parent, java.lang.Object object, java.lang.Class objectClass, boolean showAllFunctions, boolean pruneObjectFunctions, boolean showOnlyUsefulFunctions)
           
 
Method Summary
 java.awt.Component getEditor()
           
 java.lang.Object getObject()
           
 MethodViewer getParentMethod()
           
 boolean getPruneObjectFunctions()
           
 boolean getShowAllFunctions()
           
 boolean getShowOnlyUsefulFunctions()
           
 void init()
           
 void propertyChange(java.beans.PropertyChangeEvent evt)
          For supporting the generic java PropertyChangeListener and generic Java Properties.
 void refresh()
           
 void setObject(java.lang.Object o)
           
 void setParentMethod(MethodViewer parent)
           
 
Methods inherited from class org.browsecode.helpers.display.LazyNodeViewer
add, children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf, prepareToView, remove, removeAllChildren, setAllowsChildren, setHasChildren, setUserObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OneObjectViewer

public OneObjectViewer(javax.swing.tree.TreeNode parent,
                       java.lang.Object object,
                       java.lang.Class objectClass,
                       boolean showAllFunctions,
                       boolean pruneObjectFunctions,
                       boolean showOnlyUsefulFunctions)
Method Detail

getObject

public java.lang.Object getObject()

setObject

public void setObject(java.lang.Object o)

getParentMethod

public MethodViewer getParentMethod()

setParentMethod

public void setParentMethod(MethodViewer parent)

getShowAllFunctions

public boolean getShowAllFunctions()

getShowOnlyUsefulFunctions

public boolean getShowOnlyUsefulFunctions()

getPruneObjectFunctions

public boolean getPruneObjectFunctions()

init

public void init()

getEditor

public java.awt.Component getEditor()
Specified by:
getEditor in interface BasicObject
Specified by:
getEditor in class LazyNodeViewer

refresh

public void refresh()
Specified by:
refresh in interface BasicObject
Overrides:
refresh in class LazyNodeViewer

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent evt)
For supporting the generic java PropertyChangeListener and generic Java Properties.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener