Class LayoutAnimator.LayoutTrans

  • Enclosing class:
    LayoutAnimator

    private class LayoutAnimator.LayoutTrans
    extends javafx.animation.Transition
    • Nested Class Summary

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

        javafx.animation.Animation.Status
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double fromH  
      private double fromW  
      private double fromX  
      private double fromY  
      private javafx.scene.Node node  
      private javafx.geometry.Rectangle2D toBounds  
      • Fields inherited from class javafx.animation.Animation

        INDEFINITE
    • Constructor Summary

      Constructors 
      Constructor Description
      LayoutTrans​(javafx.scene.Node node, javafx.util.Duration duration, javafx.geometry.Rectangle2D toBounds)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void interpolate​(double frac)  
      • 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 Detail

      • node

        private final javafx.scene.Node node
      • fromX

        private final double fromX
      • fromY

        private final double fromY
      • fromW

        private final double fromW
      • fromH

        private final double fromH
      • toBounds

        private final javafx.geometry.Rectangle2D toBounds
    • Constructor Detail

      • LayoutTrans

        LayoutTrans​(javafx.scene.Node node,
                    javafx.util.Duration duration,
                    javafx.geometry.Rectangle2D toBounds)
        Parameters:
        node - The node to animate
        toBounds - Target bounds. Never null.
    • Method Detail

      • interpolate

        protected void interpolate​(double frac)
        Specified by:
        interpolate in class javafx.animation.Transition