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 | Description |
|---|---|
ShakeTransition(javafx.scene.Node node) |
Create new ShakeTransition
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
starting() |
Called when the animation is starting
|
autoReverseProperty, 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, totalDurationPropertyhideNode, interpolate, isOpacityInterpolated, stoppingpublic ShakeTransition(javafx.scene.Node node)
node - The node to affectprotected void starting()
CachedTimelineTransitionstarting in class CachedTimelineTransition