org.sf.cafebabe.gadget.classtree
Class AttributeNode

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.AttributeNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class AttributeNode
extends FolderNode

This class represents attribute 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
AttributeNode(java.lang.String text, org.sf.classfile.AttributeEntry attributeEntry)
          Creates new attribute node
 
Method Summary
 org.sf.classfile.AttributeEntry getAttributeEntry()
          Gets the attribute
 
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

AttributeNode

public AttributeNode(java.lang.String text,
                     org.sf.classfile.AttributeEntry attributeEntry)
Creates new attribute node

Parameters:
text - the text that will be displayed on the node
attributeEntry - the attribute
Method Detail

getAttributeEntry

public org.sf.classfile.AttributeEntry getAttributeEntry()
Gets the attribute

Returns:
the attribute


Copyright 2006 Dream Programs Inc.. All Rights Reserved.