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

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

public class AssociationTreeNode
extends IconTreeNode

AssociationTreeNode Tree node to represent an association 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
AssociationTreeNode(Association assoc)
           
 
Method Summary
 Association getAssociation()
           
 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

AssociationTreeNode

public AssociationTreeNode(Association assoc)
Method Detail

getAssociation

public Association getAssociation()

getIcon

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

rebuild

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