|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.lafwidget.animation.FadeConstantStep
public class FadeConstantStep
Default implementation of FadeStep
for linear (constant-step) fades.
Field Summary | |
---|---|
protected float |
step
The step value. |
Constructor Summary | |
---|---|
FadeConstantStep(float step)
Creates a default constant 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 float step
Constructor Detail |
---|
public FadeConstantStep(float step)
step
- The step value.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-10.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 |