Module com.gluonhq.charm.glisten
Class FlipInXTransition
- java.lang.Object
-
- javafx.animation.Animation
-
- javafx.animation.Transition
-
- com.gluonhq.charm.glisten.animation.MobileTransition
-
- com.gluonhq.charm.glisten.animation.CachedTimelineTransition
-
- com.gluonhq.charm.glisten.animation.FlipInXTransition
-
- All Implemented Interfaces:
HideableTransition
public class FlipInXTransition extends CachedTimelineTransition implements HideableTransition
Animate a flip in x effect on the given node Port of FlipInX from Animate.css by Dan Eden@keyframes flipInX { 0% { transform: perspective(400px) rotateX(90deg); opacity: 0; } 40% { transform: perspective(400px) rotateX(-10deg); } 70% { transform: perspective(400px) rotateX(10deg); } 100% { transform: perspective(400px) rotateX(0deg); opacity: 1; } }
- Since:
- 2.0.0
-
-
Property Summary
-
Properties inherited from class javafx.animation.Transition
interpolator
-
Properties inherited from class javafx.animation.Animation
autoReverse, currentRate, currentTime, cycleCount, cycleDuration, delay, onFinished, rate, status, totalDuration
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class javafx.animation.Animation
Animation.Status
-
-
Field Summary
-
Fields inherited from class com.gluonhq.charm.glisten.animation.CachedTimelineTransition
node, timeline, WEB_EASE
-
Fields inherited from class javafx.animation.Animation
INDEFINITE
-
-
Constructor Summary
Constructors Constructor Description FlipInXTransition(Node node)
Create new FlipInXTransitionFlipInXTransition(Node node, boolean opacityInterpolated)
Create new FlipInXTransitionFlipInXTransition(Node node, boolean opacityInterpolated, Duration duration)
Create new FlipInXTransition
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
starting()
Called when the animation is startingprotected void
stopping()
Called when the animation is stopping-
Methods inherited from class com.gluonhq.charm.glisten.animation.CachedTimelineTransition
hideNode, interpolate, isOpacityInterpolated, pause
-
Methods inherited from class javafx.animation.Transition
getCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolator
-
Methods inherited from class javafx.animation.Animation
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
-
-
-
-
Constructor Detail
-
FlipInXTransition
public FlipInXTransition(Node node)
Create new FlipInXTransition- Parameters:
node
- The node to affect
-
FlipInXTransition
public FlipInXTransition(Node node, boolean opacityInterpolated)
Create new FlipInXTransition- Parameters:
node
- The node to affectopacityInterpolated
- When true opacity is interpolated during the transition
-
FlipInXTransition
public FlipInXTransition(Node node, boolean opacityInterpolated, Duration duration)
Create new FlipInXTransition- Parameters:
node
- The node to affectopacityInterpolated
- When true opacity is interpolated during the transitionduration
- The duration of this Transition.- Since:
- 5.0.0
-
-
Method Detail
-
starting
protected void starting()
Description copied from class:CachedTimelineTransition
Called when the animation is starting- Overrides:
starting
in classCachedTimelineTransition
-
stopping
protected void stopping()
Description copied from class:CachedTimelineTransition
Called when the animation is stopping- Overrides:
stopping
in classCachedTimelineTransition
-
-