Module app
Package app.ui.menu

Class Elephant.JumpTransition

java.lang.Object
javafx.animation.Animation
javafx.animation.Transition
app.ui.menu.Elephant.JumpTransition
Enclosing class:
Elephant

class Elephant.JumpTransition extends javafx.animation.Transition
  • Property Summary

    Properties inherited from class javafx.animation.Transition

    interpolator

    Properties inherited from class javafx.animation.Animation

    autoReverse, currentRate, currentTime, cycleCount, cycleDuration, delay, onFinished, rate, status, totalDuration
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.animation.Animation

    javafx.animation.Animation.Status
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) double
     
    (package private) double
     
    (package private) javafx.geometry.Point2D
     
    (package private) javafx.geometry.Point2D
     

    Fields inherited from class javafx.animation.Animation

    INDEFINITE
  • Constructor Summary

    Constructors
    Constructor
    Description
    JumpTransition(double speed, javafx.geometry.Point2D target)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) double
    calculateY(double x)
     
    protected void
    interpolate(double fraction)
     
    (package private) void
    setSquish(double squish)
     

    Methods inherited from class javafx.animation.Transition

    getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolator

    Methods inherited from class javafx.animation.Animation

    autoReverseProperty, currentRateProperty, currentTimeProperty, cycleCountProperty, cycleDurationProperty, delayProperty, getCuePoints, getCurrentRate, getCurrentTime, getCycleCount, getCycleDuration, getDelay, getOnFinished, getRate, getStatus, getTargetFramerate, getTotalDuration, isAutoReverse, jumpTo, jumpTo, onFinishedProperty, pause, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • target

      javafx.geometry.Point2D target
    • start

      javafx.geometry.Point2D start
    • squishY

      double squishY
    • squishFraction

      double squishFraction
  • Constructor Details

    • JumpTransition

      public JumpTransition(double speed, javafx.geometry.Point2D target)
  • Method Details

    • interpolate

      protected void interpolate(double fraction)
      Specified by:
      interpolate in class javafx.animation.Transition
    • setSquish

      void setSquish(double squish)
    • calculateY

      double calculateY(double x)