|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jvx.geom.PnExplodeElementSet
Class to explode element sets.
| Constructor Summary | |
PnExplodeElementSet(PgElementSet anElementSet)
Constructor. |
|
| Method Summary | |
PsAnimation |
getAnimation()
Get the animation object of the project which handles the projects animations. |
java.lang.String |
getName()
Return name of this PsTimeListenerIf. |
boolean |
hasAnimation()
Check whether this project is registered as listener of an animation object. |
void |
init()
Initialization. |
void |
reset()
Reset geometry to initial state. |
void |
setAnimation(PsAnimation anAnimation)
Assign the animation object where this listener is registered. |
void |
setEndListener(PsUpdateIf end)
|
void |
setGravity(double gravity)
|
void |
setGravityDirection(PdVector gravityDirection)
|
void |
setRotationSpeed(double rotationSpeed)
|
void |
setSpeed(double speed)
|
boolean |
setTime(PsTimeEvent timeEvent)
Update the geometry for every new time step. |
void |
startAnimation()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PnExplodeElementSet(PgElementSet anElementSet)
| Method Detail |
public void init()
public void setSpeed(double speed)
public void setGravity(double gravity)
public void setGravityDirection(PdVector gravityDirection)
public void setRotationSpeed(double rotationSpeed)
public void setEndListener(PsUpdateIf end)
public void startAnimation()
public void reset()
public java.lang.String getName()
getName in interface PsTimeListenerIfpublic boolean setTime(PsTimeEvent timeEvent)
setTime in interface PsTimeListenerIfpublic PsAnimation getAnimation()
setAnimation(PsAnimation).getAnimation in interface PsTimeListenerIfhasAnimation(),
setAnimation(PsAnimation)public boolean hasAnimation()
hasAnimation in interface PsTimeListenerIfgetAnimation(),
setAnimation(PsAnimation)public void setAnimation(PsAnimation anAnimation)
If this project has an animation object assigned in its constructor or
init() method, then the animation panel is shown when the project's
start() method is invoked during loading of the project.
Only one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.
setAnimation in interface PsTimeListenerIfgetAnimation(),
hasAnimation()
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||