gov.nih.nci.cagrid.introduce.portal.modification.services.servicetree
Class ServicesTypeTreeNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by gov.nih.nci.cagrid.introduce.portal.modification.services.servicetree.ServicesTypeTreeNode
All Implemented Interfaces:
PopupTreeNode, java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class ServicesTypeTreeNode
extends javax.swing.tree.DefaultMutableTreeNode
implements PopupTreeNode

Node for representing namepspace

Version:
$Id: ServicesTypeTreeNode.java,v 1.1 2008/02/27 14:46:57 hastings Exp $
Author:
Shannon Hastings, Scott Oster, Stephen Langella
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
ServicesTypeTreeNode(ServiceInformation info)
           
 
Method Summary
 ServiceInformation getInfo()
           
 javax.swing.tree.DefaultTreeModel getModel()
           
 javax.swing.JPopupMenu getPopUpMenu()
           
 void removeResource(ServiceTypeTreeNode node)
           
 void setModel(javax.swing.tree.DefaultTreeModel model)
           
 void setServices(ServiceInformation info, javax.swing.tree.DefaultTreeModel model)
           
 java.lang.String toString()
           
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServicesTypeTreeNode

public ServicesTypeTreeNode(ServiceInformation info)
Method Detail

setModel

public void setModel(javax.swing.tree.DefaultTreeModel model)

getModel

public javax.swing.tree.DefaultTreeModel getModel()

getInfo

public ServiceInformation getInfo()

setServices

public void setServices(ServiceInformation info,
                        javax.swing.tree.DefaultTreeModel model)

removeResource

public void removeResource(ServiceTypeTreeNode node)

toString

public java.lang.String toString()
Overrides:
toString in class javax.swing.tree.DefaultMutableTreeNode

getPopUpMenu

public javax.swing.JPopupMenu getPopUpMenu()
Specified by:
getPopUpMenu in interface PopupTreeNode