public class ShakeTransition extends CachedTimelineTransition
Port of Shake from Animate.css by Dan Eden
@keyframes shake {
0%, 100% {transform: translateX(0);}
10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
20%, 40%, 60%, 80% {transform: translateX(10px);}
}
node, timeline, WEB_EASE| Constructor and Description |
|---|
ShakeTransition(javafx.scene.Node node)
Create new ShakeTransition
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
starting()
Called when the animation is starting
|
hideNode, interpolate, isOpacityInterpolated, stoppinggetCachedInterpolator, getInterpolator, getParentTargetNode, interpolatorProperty, setInterpolatorautoReverseProperty, currentRateProperty, currentTimeProperty, cycleCountProperty, cycleDurationProperty, delayProperty, getCuePoints, getCurrentRate, getCurrentTime, getCycleCount, getCycleDuration, getDelay, getOnFinished, getRate, getStatus, getTargetFramerate, getTotalDuration, isAutoReverse, jumpTo, jumpTo, onFinishedProperty, pause, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationPropertypublic ShakeTransition(javafx.scene.Node node)
node - The node to affectprotected void starting()
CachedTimelineTransitionstarting in class CachedTimelineTransition