public class SwingTransition extends CachedTimelineTransition
@keyframes swing {
20% { transform: rotate(15deg); }
40% { transform: rotate(-10deg); }
60% { transform: rotate(5deg); }
80% { transform: rotate(-5deg); }
100% { transform: rotate(0deg); }
}
node, timeline, WEB_EASE| Constructor | Description |
|---|---|
SwingTransition(javafx.scene.Node node) |
Create new SwingTransition
|
| 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 SwingTransition(javafx.scene.Node node)
node - The node to affectprotected void starting()
CachedTimelineTransitionstarting in class CachedTimelineTransition