ffe.lang
Class Root

java.lang.Object
  extended byjavax.swing.tree.DefaultMutableTreeNode
      extended byffe.lang.FNode
          extended byffe.lang.Root
All Implemented Interfaces:
java.lang.Cloneable, javax.swing.tree.MutableTreeNode, java.io.Serializable, javax.swing.tree.TreeNode

public final class Root
extends FNode

The Root class is the base of the Force Field Explorer data structure.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode
 
Field Summary
(package private)  MainPanel fpanel
           
 
Fields inherited from class ffe.lang.FNode
selected
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
Root(MainPanel f)
          Default Root Constructor
 
Method Summary
 void addFSystem(FSystem s)
           
 void attachall()
           
 long getAtomCount()
           
 long getBondCount()
           
 double getExtent()
           
 java.lang.String toString()
          Overidden toString method returns the FNode's name
 
Methods inherited from class ffe.lang.FNode
destroy, drawLabel, equals, findCenter, getAtomList, getBondList, getFSystemNode, getList, getListIterator, getMoleculeNode, getMW, getName, getPolymerNode, getResidueNode, getTermList, isSelected, print, setName, setSelected, switchColor, switchView
 
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
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fpanel

MainPanel fpanel
Constructor Detail

Root

public Root(MainPanel f)
Default Root Constructor

Method Detail

addFSystem

public void addFSystem(FSystem s)

getAtomCount

public long getAtomCount()

getBondCount

public long getBondCount()

attachall

public void attachall()

getExtent

public double getExtent()

toString

public java.lang.String toString()
Description copied from class: FNode
Overidden toString method returns the FNode's name

Overrides:
toString in class FNode