gov.nih.nci.cagrid.data.utilities.query.cqltree
Class AttributeTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by gov.nih.nci.cagrid.data.utilities.query.cqltree.IconTreeNode
          extended by gov.nih.nci.cagrid.data.utilities.query.cqltree.AttributeTreeNode
All Implemented Interfaces:
RebuildableTreeNode, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class AttributeTreeNode
extends IconTreeNode

AttributeTreeNode Tree node to represent an attribute in a CQL Query

Version:
$Id$
Author:
David W. Ervin
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
AttributeTreeNode(Attribute attrib)
           
 
Method Summary
 Attribute getAttribute()
           
 javax.swing.Icon getIcon()
           
 void rebuild()
           
 
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

AttributeTreeNode

public AttributeTreeNode(Attribute attrib)
Method Detail

getAttribute

public Attribute getAttribute()

getIcon

public javax.swing.Icon getIcon()
Specified by:
getIcon in class IconTreeNode

rebuild

public void rebuild()
             throws java.lang.IllegalStateException
Throws:
java.lang.IllegalStateException