public class CachedTimelineTransition
extends javafx.animation.Transition
Modifier and Type | Field and Description |
---|---|
protected javafx.scene.Node |
node |
protected javafx.animation.Timeline |
timeline |
protected static javafx.animation.Interpolator |
WEB_EASE |
Constructor and Description |
---|
CachedTimelineTransition(javafx.scene.Node node,
javafx.animation.Timeline timeline)
Create new CachedTimelineTransition
|
CachedTimelineTransition(javafx.scene.Node node,
javafx.animation.Timeline timeline,
boolean useCache)
Create new CachedTimelineTransition
|
Modifier and Type | Method and Description |
---|---|
protected void |
interpolate(double d) |
protected void |
starting()
Called when the animation is starting
|
protected void |
stopping()
Called when the animation is stopping
|
getCachedInterpolator, getInterpolator, getParentTargetNode, impl_jumpTo, impl_playTo, interpolatorProperty, setInterpolator
autoReverseProperty, currentRateProperty, currentTimeProperty, cycleCountProperty, cycleDurationProperty, delayProperty, getCuePoints, getCurrentRate, getCurrentTime, getCycleCount, getCycleDuration, getDelay, getOnFinished, getRate, getStatus, getTargetFramerate, getTotalDuration, impl_finished, impl_setCurrentRate, impl_setCurrentTicks, impl_timePulse, isAutoReverse, jumpTo, jumpTo, onFinishedProperty, pause, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationProperty
protected static final javafx.animation.Interpolator WEB_EASE
protected final javafx.scene.Node node
protected javafx.animation.Timeline timeline
public CachedTimelineTransition(javafx.scene.Node node, javafx.animation.Timeline timeline)
node
- The node that is being animated by the timelinetimeline
- The timeline for the animation, it should be from 0 to 1 secondspublic CachedTimelineTransition(javafx.scene.Node node, javafx.animation.Timeline timeline, boolean useCache)
node
- The node that is being animated by the timelinetimeline
- The timeline for the animation, it should be from 0 to 1 secondsuseCache
- When true the node is cached as image during the animation