|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.tree.DefaultMutableTreeNode
ffe.lang.FNode
ffe.lang.FGroup
ffe.lang.Polymer
The Polymer class encapsulates a polypeptide or polynucleotide chain.
| Nested Class Summary |
| Nested classes inherited from class javax.swing.tree.DefaultMutableTreeNode |
|
| Field Summary |
| Fields inherited from class ffe.lang.FNode |
selected |
| Fields inherited from class javax.swing.tree.DefaultMutableTreeNode |
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject |
| Constructor Summary | |
Polymer()
Default Polymer Construtor |
|
Polymer(java.lang.String n,
boolean bk)
|
|
Polymer(java.lang.String n,
boolean bk,
boolean l)
Polymer Constructor |
|
Polymer(java.lang.String n,
FNode residues,
boolean bk)
Polymer Constructor |
|
| Method Summary | |
void |
addFNode(FNode o)
A generic method for adding a FNode to the Polymer. |
boolean |
equals(java.lang.Object object)
Overidden equals method. |
void |
finalize(boolean finalizeGroups)
Finalize should be called after all the Residues have been added to the Polymer. |
boolean |
getLink()
|
Residue |
getResidue(int resNum)
|
Residue |
getResidue(java.lang.String resName,
int resNum,
boolean create)
|
void |
setLink(boolean t)
|
void |
switchColor(int colortype,
javax.vecmath.Color3f color,
javax.media.j3d.Material mat)
|
| Methods inherited from class ffe.lang.FGroup |
collectBonds, ConstructGeometry, destroy, findCenter, findDangelingAtoms, getAngles, getBond, getBond, getBonds, getBondsKnown, getCenter, getDangelingAtoms, getDihedrals, getFGroupList, getFGroups, getFNode, getFNode, getTerms, isFinalized, joiner, joiner, print, reInit, removeLeaves, setAngles, setBonds, setBondsKnown, setCenter, setDangelingAtoms, setDihedrals, setFGroups, setFinalized, setTerms, toString, updateAtoms, updateBonds |
| Methods inherited from class ffe.lang.FNode |
drawLabel, getAtomList, getBondList, getFSystemNode, getList, getListIterator, getMoleculeNode, getMW, getName, getPolymerNode, getResidueNode, getTermList, isSelected, setName, setSelected, 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 |
| Constructor Detail |
public Polymer()
public Polymer(java.lang.String n,
boolean bk)
public Polymer(java.lang.String n,
boolean bk,
boolean l)
n - Polymer indentifier, generally a letter in PDB files (ie A,B,C,etc)
public Polymer(java.lang.String n,
FNode residues,
boolean bk)
n - Polymer indentifier, generally a letter in PDB files (ie A,B,C,etc)residues - Represents a FNode where the Polymer's residues have been attached| Method Detail |
public boolean equals(java.lang.Object object)
equals in class FNodeobject - Object to compare
public void addFNode(FNode o)
addFNode in class FGroupo - If the FNode is an Atom, an attempt is made to pass it to the residue
to which it belongs. Otherwise, if the FNode is a Residue, it will be added to the Polymer,
so long as its sequence number is not already in usepublic void finalize(boolean finalizeGroups)
finalize in class FGrouppublic Residue getResidue(int resNum)
public Residue getResidue(java.lang.String resName,
int resNum,
boolean create)
public void setLink(boolean t)
public boolean getLink()
public void switchColor(int colortype,
javax.vecmath.Color3f color,
javax.media.j3d.Material mat)
switchColor in class FGroup
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||