APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.scenario.animation.shared

pack-priv abstract Class MultiLoopClipEnvelope

extends ClipEnvelope
Class Inheritance
Known Direct Subclasses
com.sun.scenario.animation.shared.FiniteClipEnvelope, com.sun.scenario.animation.shared.InfiniteClipEnvelope
Imports
javafx.animation.Animation

Clip envelope for multi-cycle animations. In this case, autoReverse and cyclePosition (which can be different from ticks) are important.

Field Summary

Modifier and TypeField and Description
protected boolean
protected long
cyclePos

The current position of the play head in its current cycle.

Inherited from com.sun.scenario.animation.shared.ClipEnvelope:
abortedanimationcurrentRatecycleTicksdeltaTicksEPSILONINDEFINITEinTimePulserateticks

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected boolean
protected boolean
isDirectionChanged(double newRate)

protected boolean
public void
protected long
Inherited from com.sun.scenario.animation.shared.ClipEnvelope:
abortCurrentPulsecalculateCurrentRatecreategetCurrentRatejumpTosetCurrentRatesetCycleCountsetCycleDurationsetInternalCurrentRatesetRatestarttimePulseupdateCycleTickswasSynched

Field Detail

autoReverseback to summary
protected boolean autoReverse
cyclePosback to summary
protected long cyclePos

The current position of the play head in its current cycle. cyclePos = ticks % cycleTicks, so 0 <= cyclePos <= cycleTicks.

Constructor Detail

MultiLoopClipEnvelopeback to summary
protected MultiLoopClipEnvelope(Animation animation)

Method Detail

isAutoReverseback to summary
protected boolean isAutoReverse()
isDirectionChangedback to summary
protected boolean isDirectionChanged(double newRate)
isDuringEvenCycleback to summary
protected boolean isDuringEvenCycle()
setAutoReverseback to summary
public void setAutoReverse(boolean autoReverse)

Implements abstract com.sun.scenario.animation.shared.ClipEnvelope.setAutoReverse.

Annotations
@Override
ticksRateChangeback to summary
protected long ticksRateChange(double newRate)

Overrides com.sun.scenario.animation.shared.ClipEnvelope.ticksRateChange.

Annotations
@Override