Class SpringInterpolator

java.lang.Object
javafx.animation.Interpolator
com.cryptoalgo.oursql.support.ui.SpringInterpolator

public class SpringInterpolator extends javafx.animation.Interpolator
An interpolator that simulates interpolation with spring physics.
  • Field Summary

    Fields inherited from class javafx.animation.Interpolator

    DISCRETE, EASE_BOTH, EASE_IN, EASE_OUT, LINEAR
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpringInterpolator(double stiffness, double mass, double damping)
    Convenience constructor that specifies a default precision value of 0.05.
    SpringInterpolator(double stiffness, double mass, double damping, double precision)
    Create a spring interpolator with custom values
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
    curve(double t)
     

    Methods inherited from class javafx.animation.Interpolator

    interpolate, interpolate, interpolate, interpolate, interpolate, SPLINE, TANGENT, TANGENT

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait