astex
Class Animate

java.lang.Object
  extended by java.lang.Thread
      extended by astex.Animate
All Implemented Interfaces:
java.lang.Runnable

public class Animate
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 MoleculeViewer moleculeViewer
          The MoleculeViewer we are associated with.
 java.util.Vector stages
          The list of animation objects.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Animate()
           
 
Method Summary
 boolean getInteractive()
          Are we interactive.
 int getStepCount()
          Return the total number of steps in the animation.
 void run()
          The run method.
 void setInteractive(boolean b)
          Set whether we are in interactive mode.
 void setMoleculeViewer(MoleculeViewer mv)
          Set the MoleculeViewer.
 void setStages(java.util.Vector v)
          Set the stages.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stages

public java.util.Vector stages
The list of animation objects.


moleculeViewer

public MoleculeViewer moleculeViewer
The MoleculeViewer we are associated with.

Constructor Detail

Animate

public Animate()
Method Detail

setInteractive

public void setInteractive(boolean b)
Set whether we are in interactive mode.


getInteractive

public boolean getInteractive()
Are we interactive.


setMoleculeViewer

public void setMoleculeViewer(MoleculeViewer mv)
Set the MoleculeViewer.


setStages

public void setStages(java.util.Vector v)
Set the stages.


getStepCount

public int getStepCount()
Return the total number of steps in the animation.


run

public void run()
The run method.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread