public final class ShrinkExpandAnimation
extends javafx.animation.Transition
expand
parameter of the constructor.Constructor and Description |
---|
ShrinkExpandAnimation(javafx.scene.Node n,
boolean expand)
Creates a new ShrinkExpandAnimation instance, where the animation
will initially operate in the direction specified by the boolean argument:
if true, the node will expand into view when the animation is played, and
if false, the node will shrink out of view when the animation is played.
|
Modifier and Type | Method and Description |
---|---|
protected void |
interpolate(double frac) |
getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolator
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
public ShrinkExpandAnimation(javafx.scene.Node n, boolean expand)
n
- The Node
to animate.expand
- Whether to expand (true), or shrink (false).