net.sf.rej.gui.structure
Class StructureNode

java.lang.Object
  extended by net.sf.rej.gui.structure.StructureNode
All Implemented Interfaces:
javax.swing.tree.TreeNode
Direct Known Subclasses:
AccessFlagsNode, AttributeNode, AttributesNode, ClassFileNode, ConstantPoolNode, FieldNode, FieldsNode, InterfaceNode, InterfacesNode, MagicNode, MethodAccessFlagsNode, MethodAttributesNode, MethodDescriptorNode, MethodNameNode, MethodNode, MethodsNode, SuperClassNode, ThisClassNode, VersionNode

public class StructureNode
extends java.lang.Object
implements javax.swing.tree.TreeNode


Constructor Summary
StructureNode()
           
 
Method Summary
 java.util.Enumeration children()
           
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 java.util.List getChildren()
           
 javax.swing.JPopupMenu getContextMenu()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 javax.swing.tree.TreeNode getParent()
           
 boolean isLeaf()
           
 void setParent(StructureNode node)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StructureNode

public StructureNode()
Method Detail

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode

setParent

public void setParent(StructureNode node)

getParent

public javax.swing.tree.TreeNode getParent()
Specified by:
getParent in interface javax.swing.tree.TreeNode

getChildAt

public javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

children

public java.util.Enumeration children()
Specified by:
children in interface javax.swing.tree.TreeNode

getChildren

public java.util.List getChildren()

getContextMenu

public javax.swing.JPopupMenu getContextMenu()