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
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.animation.Animation
javafx.animation.Animation.Status -
Property Summary
Properties inherited from class javafx.animation.Transition
interpolatorProperties inherited from class javafx.animation.Animation
autoReverse, currentRate, currentTime, cycleCount, cycleDuration, delay, onFinished, rate, status, totalDuration -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final doubleprivate final doubleprivate final doubleprivate final javafx.scene.Nodeprivate final javafx.geometry.Rectangle2DFields 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, setInterpolatorMethods 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:
interpolatein classjavafx.animation.Transition
-