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
FieldsModifier and TypeFieldDescriptionprivate 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
ConstructorsConstructorDescriptionLayoutTrans
(javafx.scene.Node node, javafx.util.Duration duration, javafx.geometry.Rectangle2D toBounds) -
Method Summary
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
-
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 animatetoBounds
- Target bounds. Never null.
-
-
Method Details
-
interpolate
protected void interpolate(double frac) - Specified by:
interpolate
in classjavafx.animation.Transition
-