Package ffx.ui
Class Trajectory
java.lang.Object
ffx.ui.Trajectory
- All Implemented Interfaces:
ActionListener
,EventListener
The Trajectory class controls playback of a TINKER trajectory.
- Author:
- Michael J. Schnieders
-
Constructor Details
-
Trajectory
Constructor for Trajectory.- Parameters:
mol
- aMolecularAssembly
object.f
- aMainPanel
object.
-
-
Method Details
-
actionPerformed
- Specified by:
actionPerformed
in interfaceActionListener
-
getFSystem
getFSystem- Returns:
- a
MolecularAssembly
object.
-
getFrame
public int getFrame()getFrame- Returns:
- a int.
-
setFrame
public void setFrame(int f) setFrame- Parameters:
f
- a int.
-
getOscillate
public boolean getOscillate()Getter for the fieldoscillate
.- Returns:
- a boolean.
-
getRate
public int getRate()getRate- Returns:
- a int.
-
setRate
public void setRate(int s) setRate- Parameters:
s
- a int.
-
start
public void start()start -
stop
public void stop()stop
-