Package javafx.animation
Class SingleLoopClipEnvelope
java.lang.Object
javafx.animation.ClipEnvelope
javafx.animation.SingleLoopClipEnvelope
- Author:
- Bruno Salmon
-
Field Summary
Fields inherited from class javafx.animation.ClipEnvelope
aborted, animation, currentRate, cycleTicks, deltaTicks, EPSILON, INDEFINITE, inTimePulse, rate, ticks
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected double
void
jumpTo
(long ticks) void
setAutoReverse
(boolean autoReverse) setCycleCount
(int cycleCount) setCycleDuration
(Duration cycleDuration) void
setRate
(double rate) void
timePulse
(long currentTick) boolean
Methods inherited from class javafx.animation.ClipEnvelope
abortCurrentPulse, checkBounds, create, getCurrentRate, setCurrentRate, start, updateCycleTicks
-
Constructor Details
-
SingleLoopClipEnvelope
-
-
Method Details
-
setRate
public void setRate(double rate) - Specified by:
setRate
in classClipEnvelope
-
setAutoReverse
public void setAutoReverse(boolean autoReverse) - Specified by:
setAutoReverse
in classClipEnvelope
-
calculateCurrentRate
protected double calculateCurrentRate()- Specified by:
calculateCurrentRate
in classClipEnvelope
-
wasSynched
public boolean wasSynched()- Overrides:
wasSynched
in classClipEnvelope
-
setCycleDuration
- Specified by:
setCycleDuration
in classClipEnvelope
-
setCycleCount
- Specified by:
setCycleCount
in classClipEnvelope
-
timePulse
public void timePulse(long currentTick) - Specified by:
timePulse
in classClipEnvelope
-
jumpTo
public void jumpTo(long ticks) - Specified by:
jumpTo
in classClipEnvelope
-