Package org.jdesktop.animation.timing.interpolation
Provides a mechanism for animating object properties between different values.
This package provides classes for defining object properties to animate, via the PropertySetter class. KeyFrames encapsulates the definition of the times (using KeyTimes) and values (using KeyValues) to interpolate between, as well as the type of interpolation to use between these values. Interpolator is an interface that is implemented by DiscreteInterpolator, LinearInterpolator, and SplineInterpolator for built-in interpolations, but applications can define their own custom interpolation as well.
-
Interface Summary Interface Description Interpolator Interface that defines the singleInterpolator.interpolate(float)
method. -
Class Summary Class Description DiscreteInterpolator This class implements the Interpolator interface.Evaluator<T> This class is used by KeyValues to calculate intermediate values for specific types.KeyFrames KeyFrames holds information about the times at which values are sampled (KeyTimes) and the values at those times (KeyValues).KeyTimes Stores a list of times from 0 to 1 (the elapsed fraction of an animation cycle) that are used in calculating interpolated values for PropertySetter given a matching set of KeyValues and Interpolators for those time intervals.KeyValues<T> Stores a list of values that correspond to the times in aKeyTimes
object.LinearInterpolator This class implements the Interpolator interface by providing a simple interpolate function that simply returns the value that it was given.PropertySetter This class enables automating animation of object properties.SplineInterpolator This class interpolates fractional values using Bezier splines.