|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.AnimationObject
public class AnimationObject
| Field Summary | |
|---|---|
static int |
Command
Constant to indicate that we are recentering. |
static int |
MoleculeAnimation
Constant to indicate that we are recentering. |
static int |
Recenter
Constant to indicate that we are recentering. |
static int |
Rock
Constant to indicate that we are rocking. |
static int |
Roll
Constant to indicate that we are rolling. |
| Constructor Summary | |
|---|---|
AnimationObject()
|
|
| Method Summary | |
|---|---|
boolean |
animate()
Do the step. |
boolean |
executeAnimationFunction()
Execute the actual animation function. |
int |
getSleepDuration()
Get the sleep duration. |
int |
getSteps()
Get the number of steps in this animation. |
void |
initialise()
Initialise the animation object. |
java.lang.String |
processCommand(java.lang.String s)
Introduce variables etc. |
void |
setAnimateThread(java.lang.Thread t)
Set the animate thread. |
void |
setCommand(java.lang.String c)
Set the command. |
void |
setFinishCenter(double x,
double y,
double z,
double r,
double cf,
double cb)
Set the start view. |
void |
setFinishMatrix(Matrix ms)
Set the start matrix for view change. |
void |
setMode(int v)
Set the current mode. |
void |
setMoleculeViewer(MoleculeViewer mv)
The MoleculeViewer. |
void |
setRockAngle(double a)
Set the rock angle. |
void |
setRockRate(double r)
Set the rock rate. |
void |
setSleepDuration(int sd)
Set the sleep duration. |
void |
setStartCenter(double x,
double y,
double z,
double r,
double cf,
double cb)
Set the start view. |
void |
setStartMatrix(Matrix ms)
Set the start matrix for view change. |
void |
setSteps(int s)
Set the number of steps. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int Rock
public static final int Roll
public static final int Recenter
public static final int Command
public static final int MoleculeAnimation
| Constructor Detail |
|---|
public AnimationObject()
| Method Detail |
|---|
public void setAnimateThread(java.lang.Thread t)
public void setMoleculeViewer(MoleculeViewer mv)
public void setMode(int v)
public void setSleepDuration(int sd)
public int getSleepDuration()
public void setRockAngle(double a)
public void setRockRate(double r)
public void setSteps(int s)
public int getSteps()
public void setCommand(java.lang.String c)
public void setStartCenter(double x,
double y,
double z,
double r,
double cf,
double cb)
public void setFinishCenter(double x,
double y,
double z,
double r,
double cf,
double cb)
public void setStartMatrix(Matrix ms)
public void setFinishMatrix(Matrix ms)
public void initialise()
public boolean executeAnimationFunction()
public boolean animate()
public java.lang.String processCommand(java.lang.String s)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||