net.sf.rej.gui.structure
Class StructureNode
java.lang.Object
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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StructureNode
public StructureNode()
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()