org.browsecode.helpers.display
Class OneObjectViewer
java.lang.Object
org.browsecode.helpers.display.LazyNodeViewer
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)
|
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 |
OneObjectViewer
public OneObjectViewer(javax.swing.tree.TreeNode parent,
java.lang.Object object,
java.lang.Class objectClass,
boolean showAllFunctions,
boolean pruneObjectFunctions,
boolean showOnlyUsefulFunctions)
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