|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.lafwidget.animation.FadeAccelerationStep
public class FadeAccelerationStep
Implementation of FadeStep
for accelerated fades.
Field Summary | |
---|---|
protected float |
accelerationFactor
The acceleration factor. |
protected FadeStep |
delegate
Delegate. |
Constructor Summary | |
---|---|
FadeAccelerationStep(FadeStep delegate,
float accelerationFactor)
Creates an accelerated implementation. |
Method Summary | |
---|---|
float |
getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping)
Returns the next fade cycle step. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FadeStep delegate
protected float accelerationFactor
Constructor Detail |
---|
public FadeAccelerationStep(FadeStep delegate, float accelerationFactor)
delegate
- Delegate.accelerationFactor
- Acceleration factor.Method Detail |
---|
public float getNextStep(FadeKind fadeKind, float currFadePosition, boolean isFadeIn, boolean isLooping)
FadeStep
getNextStep
in interface FadeStep
fadeKind
- Fade kind.currFadePosition
- Current fade position - guaranteed to be in 0.0-1.0 range.isFadeIn
- If true
, the current fade cycle is fading in.isLooping
- If true
, the fade is looping.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |