Class LayoutAnimator.LayoutTrans

java.lang.Object
javafx.animation.Animation
javafx.animation.Transition
org.tbee.javafx.scene.layout.LayoutAnimator.LayoutTrans
Enclosing class:
LayoutAnimator

private class LayoutAnimator.LayoutTrans 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
    private final double
     
    private final double
     
    private final double
     
    private final double
     
    private final javafx.scene.Node
     
    private final javafx.geometry.Rectangle2D
     

    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

    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 Details

    • 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 Details

    • 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 Details

    • interpolate

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