Documentation of 'jvx.math.MathTimerListener' Java class
MathTimerListener ("JavaView Reference Manual")
"JavaView? v5.03.003"
jvx.math

Class MathTimerListener

  • All Implemented Interfaces:
    PsTimeListenerIf


    public class MathTimerListener
    extends MathListener
    implements PsTimeListenerIf
    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".
    See Also:
    PsTimeListenerIf
    Author:
    Konrad Polthier
    Version:
    21.02.01, 1.20 revised (kp) Adjusted to new methods in PsTimeListenerIf.
    16.09.00, 1.10 revised (kp) Adjusted to renaming of interface PsDynamicIf to PsTimeListenerIf.
    30.07.00, 1.00 created (kp)
    • Constructor Detail

      • MathTimerListener

        public MathTimerListener()
    • Method Detail

      • setTime

        public boolean setTime(PsTimeEvent time)
        Animation updates the dynamic object through this method whenever time has changed.
        Specified by:
        setTime in interface PsTimeListenerIf
        Parameters:
        time - Time event issued by an animation
      • setAnimation

        public void setAnimation(PsAnimation anAnimation)
        Assign the animation object where this listener is registered. This method is invoked by the animation object during registration of this listener, and usually is not required to be called by a user. If this listener has an assigned animation object, then its animation panel may be shown to change the current time of this listener.

        Only one animation object may be assigned to this listener. Subsequent assignments will replace the previous assignment.

        Specified by:
        setAnimation in interface PsTimeListenerIf
        See Also:
        getAnimation(), hasAnimation()
"JavaView? v5.03.003"

"

The software JavaView? is copyright protected. All Rights Reserved.
"

Ads help maintain this website.