public class FlipTransition extends CachedTimelineTransition
@keyframes flip {
0% {
transform: perspective(400px) rotateY(0);
animation-timing-function: ease-out;
}
40% {
transform: perspective(400px) translateZ(150px) rotateY(170deg);
animation-timing-function: ease-out;
}
50% {
transform: perspective(400px) translateZ(150px) rotateY(190deg) scale(1);
animation-timing-function: ease-in;
}
80% {
transform: perspective(400px) rotateY(360deg) scale(.95);
animation-timing-function: ease-in;
}
100% {
transform: perspective(400px) scale(1);
animation-timing-function: ease-in;
}
}
node, timeline, WEB_EASE| Constructor and Description |
|---|
FlipTransition(javafx.scene.Node node)
Create new FlipTransition
|
FlipTransition(javafx.scene.Node node,
javafx.util.Duration duration)
Create new FlipTransition
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
starting()
Called when the animation is starting
|
protected void |
stopping()
Called when the animation is stopping
|
hideNode, interpolate, isOpacityInterpolated, pausegetCachedInterpolator, 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, totalDurationPropertypublic FlipTransition(javafx.scene.Node node)
node - The node to affectpublic FlipTransition(javafx.scene.Node node,
javafx.util.Duration duration)
node - The node to affectduration - The duration of this Transition.protected void starting()
CachedTimelineTransitionstarting in class CachedTimelineTransitionprotected void stopping()
CachedTimelineTransitionstopping in class CachedTimelineTransition