public class FadeOutTransition extends CachedTimelineTransition
@keyframes fadeOut { 0% {opacity: 1;} 100% {opacity: 0;} }
node, timeline, WEB_EASE
Constructor and Description |
---|
FadeOutTransition(javafx.scene.Node node)
Create new FadeOutTransition
|
FadeOutTransition(javafx.scene.Node node,
javafx.util.Duration duration)
Create new FadeOutTransition
|
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 FadeOutTransition(javafx.scene.Node node)
node
- The node to affectpublic FadeOutTransition(javafx.scene.Node node, javafx.util.Duration duration)
node
- The node to affectduration
- The duration of this Transition.protected void starting()
CachedTimelineTransition
starting
in class CachedTimelineTransition
protected void stopping()
CachedTimelineTransition
stopping
in class CachedTimelineTransition