public class HingeTransition extends CachedTimelineTransition
@keyframes hinge { 0% { transform: rotate(0); transform-origin: top left; animation-timing-function: ease-in-out; } 20%, 60% { transform: rotate(80deg); transform-origin: top left; animation-timing-function: ease-in-out; } 40% { transform: rotate(60deg); transform-origin: top left; animation-timing-function: ease-in-out; } 80% { transform: rotate(60deg) translateY(0); opacity: 1; transform-origin: top left; animation-timing-function: ease-in-out; } 100% { transform: translateY(700px); opacity: 0; } }
node, timeline, WEB_EASE
Constructor and Description |
---|
HingeTransition(javafx.scene.Node node)
Create new HingeTransition
|
HingeTransition(javafx.scene.Node node,
boolean opacityInterpolated)
Create new HingeTransition
|
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
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, pause, play, playFrom, playFrom, playFromStart, rateProperty, setAutoReverse, setCycleCount, setCycleDuration, setDelay, setOnFinished, setRate, setStatus, statusProperty, stop, totalDurationProperty
public HingeTransition(javafx.scene.Node node)
node
- The node to affectpublic HingeTransition(javafx.scene.Node node, boolean opacityInterpolated)
node
- The node to affectopacityInterpolated
- When true opacity is interpolated during the transitionprotected void starting()
CachedTimelineTransition
starting
in class CachedTimelineTransition
protected void stopping()
CachedTimelineTransition
stopping
in class CachedTimelineTransition