Top Description Fields Constructors Methods
com.sun.scenario.animation.shared

pack-priv Class GeneralClipInterpolator

extends ClipInterpolator
Class Inheritance
Imports
java.util.ArrayList, .HashMap, .HashSet, .Iterator, .List, .Map, .Set, javafx.animation.KeyFrame, .KeyValue, javafx.beans.value.WritableValue

General implementation of ClipInterpolator, which covers all use-cases.

Field Summary

Modifier and TypeField and Description
private InterpolationInterval[][]
private boolean
private KeyFrame[]
private long[]
private int[]

Constructor Summary

AccessConstructor and Description
pack-priv
GeneralClipInterpolator(KeyFrame[] keyFrames, long[] keyFrameTicks)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv ClipInterpolator
setKeyFrames(KeyFrame[]
The new sorted array of keyframes of this clip
keyFrames
,
long[]
tick duration of corresponding keyFrames
keyFrameTicks
)

Implements abstract com.sun.scenario.animation.shared.ClipInterpolator.setKeyFrames.

Changes the keyframes.

pack-priv void
Inherited from com.sun.scenario.animation.shared.ClipInterpolator:
creategetRealKeyFrameCount

Field Detail

intervalback to summary
private InterpolationInterval[][] interval
invalidback to summary
private boolean invalid
keyFramesback to summary
private KeyFrame[] keyFrames
keyFrameTicksback to summary
private long[] keyFrameTicks
undefinedStartValuesback to summary
private int[] undefinedStartValues

Constructor Detail

GeneralClipInterpolatorback to summary
pack-priv GeneralClipInterpolator(KeyFrame[] keyFrames, long[] keyFrameTicks)

Method Detail

interpolateback to summary
pack-priv void interpolate(long ticks)

Implements abstract com.sun.scenario.animation.shared.ClipInterpolator.interpolate.

Annotations
@Override
setKeyFramesback to summary
pack-priv ClipInterpolator setKeyFrames(KeyFrame[] keyFrames, long[] keyFrameTicks)

Implements abstract com.sun.scenario.animation.shared.ClipInterpolator.setKeyFrames.

Doc from com.sun.scenario.animation.shared.ClipInterpolator.setKeyFrames.

Changes the keyframes. The optimal implementation for the new keyFrames might be different. For this reason, setKeyFrames returns a ClipInterpolator implementation with the updated values. This can either be the same object or a newly created one.

Parameters
keyFrames:KeyFrame[]

The new sorted array of keyframes of this clip

keyFrameTicks:long[]

tick duration of corresponding keyFrames

Returns:ClipInterpolator

The ClipInterpolator implementation to use after changing the keyframes.

Annotations
@Override
validateback to summary
pack-priv void validate(boolean forceSync)

Implements abstract com.sun.scenario.animation.shared.ClipInterpolator.validate.

Annotations
@Override