Java Reference
In-Depth Information
phaseDelayDuration: The time in milliseconds to wait after triggerTime before
actually starting the object.
Mode: May be set to INCREASING_ENABLE, DECREASING_ENABLE or the
logical OR of the two values. INCREASING_ENABLE or DECREASING_ENABLE
activates one of the two sets of corresponding parameters listed below.
The following parameters are associated with an alpha object in an increasing mode or
when mode is set to INCREASING_ENABLE.
increasingAlphaDuration: The length of time during which alpha goes from zero
to one.
increasingAlphaRampDuration: The length of time during which the object step
size increases at the beginning of increasingAlphaDuration and, correspondingly,
decreases at the end of increasingAlphaDuration. This parameter is clamped at a
value equal to half of increasingAlphaDuration. When it is non-zero, constant positive
acceleration at the beginning of the ramp and constant negative acceleration at the
end of the ramp will result. If it is zero, the alpha value will have a constant velocity
and zero acceleration, giving rise to a linearly increasing alpha ramp.
alphaAtOneDuration: The length of time that alpha stays at one.
Similarly, the following parameters are associated with an alpha object in a decreasing
mode or when mode is set to DECREASING_ENABLE.
decreasingAlphaDuration: The length of time during which Alpha goes from one
to zero.
decreasingAlphaRampDuration: The length of time during which the object step
size increases at the beginning of the decreasingAlphaDuration and, correspondingly,
decreases at the end of the decreasingAlphaDuration. This parameter is clamped at
a value equal to half of decreasingAlphaDuration. When it is non-zero, we have in
effect constant positive acceleration at the beginning of the ramp and constant negative
acceleration at the end of the ramp. If it is zero, the alpha value will have a constant
velocity and zero acceleration, giving rise to a linearly decreasing alpha ramp.
alphaAtZeroDuration: The length of time that alpha remains at zero.
Interpolator obJect
Interpolator is an abstract class that extends the behavior class to provide some common
methods for use by associated interpolation subclasses. These include methods for initial-
izing the behavior and for converting a time value into an alpha value.
Search WWH ::




Custom Search