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

pack-priv Class SimpleClipInterpolator

extends ClipInterpolator
Class Inheritance
Imports
java.util.HashMap, .Map, javafx.animation.KeyFrame, .KeyValue, javafx.beans.value.WritableValue, javafx.util.Duration

Simplified implementation of ClipCore, which is used for timelines with exactly two keyframes.

Field Summary

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

Constructor Summary

AccessConstructor and Description
pack-priv
SimpleClipInterpolator(KeyFrame startKeyFrame, KeyFrame endKeyFrame, long ticks)

pack-priv
SimpleClipInterpolator(KeyFrame endKeyFrame, long ticks)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv ClipInterpolator
setKeyFrames(KeyFrame[] keyFrames, long[] 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

endKeyFrameback to summary
private KeyFrame endKeyFrame
endTicksback to summary
private long endTicks
intervalback to summary
private InterpolationInterval[] interval
invalidback to summary
private boolean invalid
startKeyFrameback to summary
private KeyFrame startKeyFrame
ticksback to summary
private long ticks
undefinedStartValueCountback to summary
private int undefinedStartValueCount
ZERO_FRAMEback to summary
private static final KeyFrame ZERO_FRAME

Constructor Detail

SimpleClipInterpolatorback to summary
pack-priv SimpleClipInterpolator(KeyFrame startKeyFrame, KeyFrame endKeyFrame, long ticks)
SimpleClipInterpolatorback to summary
pack-priv SimpleClipInterpolator(KeyFrame endKeyFrame, long ticks)

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.

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

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

Annotations
@Override