Package ffx.ui
Class FFXSystem
- All Implemented Interfaces:
ROLS
,Serializable
,Cloneable
,MutableTreeNode
,TreeNode
The FFXSystem class contains extensions to the generic MolecularAssembly class.
- Author:
- Michael J. Schnieders
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ffx.potential.MolecularAssembly
MolecularAssembly.FractionalMode
-
Field Summary
Fields inherited from class ffx.potential.MolecularAssembly
forceField
Fields inherited from class ffx.potential.bonded.MSGroup
angleTime, angleTorsionTime, bondTime, improperTorsionTime, outOfPlaneBendTime, piOrbitalTorsionTime, stretchBendTime, stretchTorsionTime, torsionTime, torsionTorsionTime, ureyBradleyTime
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
Fields inherited from interface ffx.potential.bonded.ROLS
MaxLengthScale
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addKeywordboolean
destroy()
destroyGetter for the fieldkeyFile
.getKeyword
(String k) getKeywordGetter for the fieldkeywords
.Getter for the fieldlogFile
.org.apache.commons.configuration2.CompositeConfiguration
Getter for the fieldproperties
.Getter for the fieldtrajectory
.boolean
isClosingboolean
isStale()
isStalevoid
removeKeyword
(Keyword kd) removeKeywordvoid
setClosing
(boolean b) Setter for the fieldclosing
.void
setCommandDescription
(String command) Setter for the fieldcommandDescription
.void
setKeyFile
(File f) Setter for the fieldkeyFile
.void
Setter for the fieldkeywords
.void
setLogFile
(File f) Setter for the fieldlogFile
.void
Setter for the fieldtrajectory
.toFFStringtoFileStringtoString()
Methods inherited from class ffx.potential.MolecularAssembly
addHeaderLine, addMSNode, applyRandomDensity, applyRandomSymOp, center, centerAt, centerView, computeFractionalCoordinates, createBox, deleteMolecule, detach, finalize, findAtom, fractionalCount, getActiveAtomArray, getAllBondedEntities, getAlternateLocation, getArchiveFile, getAtomArray, getAtomFromWireVertex, getBackBoneAtoms, getBranchGroup, getChain, getChainNames, getChains, getCharge, getCrystal, getCurrentCycle, getCycles, getExtent, getFile, getForceField, getFractionalMode, getHeaderLines, getIons, getMass, getMoleculeArray, getMoleculeNumbers, getMolecules, getNeuralNetworkIdentity, getNodeList, getOffset, getOriginToRot, getParallelTeam, getPolymer, getPotentialEnergy, getResidueList, getTransformGroup, getWater, getWireFrame, isVisible, loadVRML, moveAllIntoUnitCell, moveCenter, moveToFractionalCoordinates, removeLeaves, rotateAbout, sceneGraphChange, setAlternateLocation, setArchiveFile, setChainIDAndRenumberMolecules, setColor, setCrystal, setCurrentCycle, setCycles, setFile, setForceField, setFractionalMode, setOffset, setPotential, setView, setWireWidth
Methods inherited from class ffx.potential.bonded.MSGroup
assignBondedTerms, createJoint, createJoint, findDangelingAtoms, getAngles, getAtomByName, getAtomNode, getAtomNode, getAtomNode, getAtomNodeList, getBond, getBond, getBonds, getCenter, getDanglingAtoms, getMultiScaleCenter, getTermNode, getTorsions, isFinalized, print, reOrderAtoms, setAngles, setAngleTorsions, setAtomNode, setBonds, setCenter, setDanglingAtoms, setFinalized, setImproperTorsions, setOutOfPlaneBends, setPiOrbitalTorsions, setStretchBends, setStretchTorsions, setTerms, setTorsions, setTorsionTorsions, setUreyBradleys, update, updateAtoms, updateBonds
Methods inherited from class ffx.potential.bonded.MSNode
contains, drawLabel, equals, getAngleList, getAngleTorsionList, getAtomList, getAtomList, getBondList, getCenter, getChildList, getImproperTorsionList, getList, getList, getMSCount, getMSNode, getMW, getName, getOutOfPlaneBendList, getPiOrbitalTorsionList, getStretchBendList, getStretchTorsionList, getTorsionList, getTorsionTorsionList, getTotalMass, getUreyBradleyList, hashCode, isSelected, removeChild, setName, setSelected
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
-
Field Details
-
MultiScaleLevel
public static final int MultiScaleLevelConstantMultiScaleLevel=4
- See Also:
-
-
Constructor Details
-
FFXSystem
public FFXSystem(File file, String description, org.apache.commons.configuration2.CompositeConfiguration properties) Constructor.- Parameters:
file
- Coordinate file.description
- Short description of the command that created this system.properties
- Properties controlling operations on this system.
-
-
Method Details
-
addKeyword
addKeyword- Parameters:
k
- aKeyword
object.
-
destroy
public boolean destroy()destroy- Overrides:
destroy
in classMolecularAssembly
- Returns:
- a boolean.
-
getKeyFile
Getter for the fieldkeyFile
.- Returns:
- a
File
object.
-
setKeyFile
Setter for the fieldkeyFile
.- Parameters:
f
- aFile
object.
-
getKeyword
getKeyword -
getKeywords
Getter for the fieldkeywords
.- Returns:
- a
Hashtable
object.
-
setKeywords
Setter for the fieldkeywords
.- Parameters:
k
- aHashtable
object.
-
getLogFile
Getter for the fieldlogFile
.- Returns:
- a
File
object.
-
setLogFile
Setter for the fieldlogFile
.- Parameters:
f
- aFile
object.
-
getProperties
public org.apache.commons.configuration2.CompositeConfiguration getProperties()Getter for the fieldproperties
.- Overrides:
getProperties
in classMolecularAssembly
- Returns:
- a
CompositeConfiguration
object.
-
getTrajectory
Getter for the fieldtrajectory
.- Returns:
- a
Trajectory
object.
-
setTrajectory
Setter for the fieldtrajectory
.- Parameters:
t
- aTrajectory
object.
-
isClosing
public boolean isClosing()isClosing- Returns:
- a boolean.
-
setClosing
public void setClosing(boolean b) Setter for the fieldclosing
.- Parameters:
b
- a boolean.
-
isStale
public boolean isStale()isStale- Returns:
- a boolean.
-
removeKeyword
removeKeyword- Parameters:
kd
- aKeyword
object.
-
setCommandDescription
Setter for the fieldcommandDescription
.- Parameters:
command
- aString
object.
-
toFFString
toFFString- Returns:
- a
String
object.
-
toFileString
toFileString- Returns:
- a
String
object.
-
toString
Overridden toString method returns the MSNode's name
Returns the MSGroup's name.
-