public class CachedTimelineTransition extends MobileTransition
| 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
|
CachedTimelineTransition(javafx.scene.Node node,
javafx.animation.Timeline timeline,
boolean useCache,
boolean opacityInterpolated)
Create new CachedTimelineTransition
|
| Modifier and Type | Method and Description |
|---|---|
void |
hideNode()
Called before starting the animation, in those cases where the animation
will set the opacity to 0.0 right at the start.
|
protected void |
interpolate(double d) |
protected boolean |
isOpacityInterpolated() |
void |
pause() |
protected void |
starting()
Called when the animation is starting
|
protected void |
stopping()
Called when the animation is stopping
|
getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolatorautoReverseProperty, currentRateProperty, currentTimeProperty, cycleCountProperty, cycleDurationProperty, delayProperty, getCuePoints, getCurrentRate, getCurrentTime, getCycleCount, getCycleDuration, getDelay, getOnFinished, getRate, getStatus, getTargetFramerate, getTotalDuration, isAutoReverse, jumpTo, jumpTo, onFinishedProperty, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationPropertyprotected 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 animationpublic CachedTimelineTransition(javafx.scene.Node node,
javafx.animation.Timeline timeline,
boolean useCache,
boolean opacityInterpolated)
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 animationopacityInterpolated - When true opacity is interpolated during the transitionprotected void starting()
starting in class MobileTransitionprotected void stopping()
stopping in class MobileTransitionpublic void pause()
pause in class javafx.animation.Animationprotected void interpolate(double d)
interpolate in class javafx.animation.Transitionpublic final void hideNode()
protected boolean isOpacityInterpolated()