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

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

public class QueryTreeNode
extends IconTreeNode

QueryTreeNode CQL Query Node

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
QueryTreeNode(CQLQuery query)
           
 
Method Summary
 javax.swing.Icon getIcon()
           
 CQLQuery getQuery()
           
 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

QueryTreeNode

public QueryTreeNode(CQLQuery query)
Method Detail

getQuery

public CQLQuery getQuery()

getIcon

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

rebuild

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