org.browsecode.helpers.display
Class MethodViewer

java.lang.Object
  extended by org.browsecode.helpers.display.LazyNodeViewer
      extended by org.browsecode.helpers.display.MethodViewer
All Implemented Interfaces:
javax.swing.tree.TreeNode, BasicObject

public class MethodViewer
extends LazyNodeViewer


Constructor Summary
MethodViewer(javax.swing.tree.TreeNode parent, MethodPair pair, OneObjectViewer object)
           
 
Method Summary
 java.lang.Object get()
           
 java.awt.Component getEditor()
           
 MethodPair getMethodPair()
           
 void initKids()
           
 boolean isAProperty()
           
 boolean isEditable()
           
 void prepareToView()
           
 void refresh()
           
 java.lang.Object set(java.lang.Object o)
           
 void setMethodPair(MethodPair pair)
           
 
Methods inherited from class org.browsecode.helpers.display.LazyNodeViewer
add, children, getAllowsChildren, getChildAt, getChildCount, getIndex, getParent, isLeaf, 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

MethodViewer

public MethodViewer(javax.swing.tree.TreeNode parent,
                    MethodPair pair,
                    OneObjectViewer object)
Method Detail

refresh

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

isEditable

public boolean isEditable()

isAProperty

public boolean isAProperty()

getEditor

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

prepareToView

public void prepareToView()
Overrides:
prepareToView in class LazyNodeViewer

get

public java.lang.Object get()

set

public java.lang.Object set(java.lang.Object o)

initKids

public void initKids()

getMethodPair

public MethodPair getMethodPair()

setMethodPair

public void setMethodPair(MethodPair pair)