org.ourgrid.mygrid.ui.gui
Class PeerNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.ourgrid.mygrid.ui.gui.PeerNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class PeerNode
extends javax.swing.tree.DefaultMutableTreeNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
PeerNode(PeerSpec spec, PeerEntry.PeerState state, java.lang.String peerInfo)
           
 
Method Summary
 PeerSpec getSpec()
           
 PeerEntry.PeerState getState()
           
 void setState(PeerEntry.PeerState state)
           
 
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

PeerNode

public PeerNode(PeerSpec spec,
                PeerEntry.PeerState state,
                java.lang.String peerInfo)
Method Detail

getSpec

public PeerSpec getSpec()

getState

public PeerEntry.PeerState getState()

setState

public void setState(PeerEntry.PeerState state)