org.sf.cafebabe.gadget.classtree
Class MethodBodyNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.sf.cafebabe.gadget.classtree.ClassTreeNode
          extended by org.sf.cafebabe.gadget.classtree.FolderNode
              extended by org.sf.cafebabe.gadget.classtree.MethodBodyNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class MethodBodyNode
extends FolderNode

This class represents method body node

Version:
1.0 02/06/2002
Author:
Alexander Shvets
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
MethodBodyNode(java.lang.String text, org.sf.classfile.attribute.MethodBody methodBody)
          Creates new method body node
 
Method Summary
 org.sf.classfile.attribute.MethodBody getMethodBody()
          Gets the method body
 
Methods inherited from class org.sf.cafebabe.gadget.classtree.ClassTreeNode
isChanged, isCorrect, setChanged, setCorrect
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodBodyNode

public MethodBodyNode(java.lang.String text,
                      org.sf.classfile.attribute.MethodBody methodBody)
Creates new method body node

Parameters:
text - the text that will be displayed on the node
methodBody - the method body
Method Detail

getMethodBody

public org.sf.classfile.attribute.MethodBody getMethodBody()
Gets the method body

Returns:
the method body


Copyright 2006 Dream Programs Inc.. All Rights Reserved.