public class RotateOutTransition extends CachedTimelineTransition
@keyframes rotateOut { 0% { transform-origin: center center; transform: rotate(0); opacity: 1; } 100% { transform-origin: center center; transform: rotate(200deg); opacity: 0; } }
node, timeline, WEB_EASE
Constructor and Description |
---|
RotateOutTransition(javafx.scene.Node node)
Create new RotateOutTransition
|
RotateOutTransition(javafx.scene.Node node,
boolean opacityInterpolated)
Create new RotateOutTransition
|
RotateOutTransition(javafx.scene.Node node,
boolean opacityInterpolated,
javafx.util.Duration duration)
Create new RotateOutTransition
|
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, pause
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, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationProperty
public RotateOutTransition(javafx.scene.Node node)
node
- The node to affectpublic RotateOutTransition(javafx.scene.Node node, boolean opacityInterpolated)
node
- The node to affectopacityInterpolated
- When true opacity is interpolated during the transitionpublic RotateOutTransition(javafx.scene.Node node, boolean opacityInterpolated, javafx.util.Duration duration)
node
- The node to affectopacityInterpolated
- When true opacity is interpolated during the transitionduration
- The duration of this Transition.protected void starting()
CachedTimelineTransition
starting
in class CachedTimelineTransition
protected void stopping()
CachedTimelineTransition
stopping
in class CachedTimelineTransition