Logo Search packages:      
Sourcecode: libjgoodies-animation-java version File versions  Download package

com::jgoodies::animation::AnimationFunctions::InterpolatedAnimationFunction Class Reference

Inheritance diagram for com::jgoodies::animation::AnimationFunctions::InterpolatedAnimationFunction:

com::jgoodies::animation::AbstractAnimationFunction com::jgoodies::animation::AnimationFunction

List of all members.


Detailed Description

Helper class for interpolation based animation functions.

Definition at line 451 of file AnimationFunctions.java.


Public Member Functions

final long duration ()
Object valueAt (long time)

Protected Member Functions

void checkTimeRange (long time)

Static Package Attributes

static final int MODE_DISCRETE = 1
static final int MODE_LINEAR = 2

Private Member Functions

void checkValidKeyTimes (int valuesLength, float[] theKeyTimes)
Object discreteValueAt (long time)
int indexAt (long time, int intervalCount)
 InterpolatedAnimationFunction (long duration, Object[] values, float[] keyTimes, int mode)
Object interpolateLinear (Object value1, Object value2, long time, long duration)
Object linearValueAt (long time)

Private Attributes

final float[] keyTimes
final int mode
final Object[] values

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index