|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjvx.math.MathListener
jvx.math.MathTimerListener
Listener to receive time events of a ticker to invoke Mathematica commands. This listener invokes a Mathematica method which has been registered under the name "update".
PsTimeListenerIf| Constructor Summary | |
MathTimerListener()
|
|
| Method Summary | |
PsAnimation |
getAnimation()
Get the animation object of the project which handles the projects animations. |
boolean |
hasAnimation()
Check whether this project is registered as listener of an animation object. |
void |
setAnimation(PsAnimation anAnimation)
Assign the animation object where this listener is registered. |
boolean |
setTime(PsTimeEvent time)
Animation updates the dynamic object through this method whenever time has changed. |
| Methods inherited from class jvx.math.MathListener |
getHandler, getName, setHandler, setName |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface jv.anim.PsTimeListenerIf |
getName |
| Constructor Detail |
public MathTimerListener()
| Method Detail |
public boolean setTime(PsTimeEvent time)
setTime in interface PsTimeListenerIftime - Time event issued by an animationpublic PsAnimation getAnimation()
setAnimation(PsAnimation).
getAnimation in interface PsTimeListenerIfhasAnimation(),
setAnimation(PsAnimation)public boolean hasAnimation()
hasAnimation in interface PsTimeListenerIfgetAnimation(),
setAnimation(PsAnimation)public void setAnimation(PsAnimation anAnimation)
Only one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.
setAnimation in interface PsTimeListenerIfgetAnimation(),
hasAnimation()
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||