|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jvnet.lafwidget.animation.FadeDecelerationStep
public class FadeDecelerationStep
Implementation of FadeStep for decelerated fades.
| Field Summary | |
|---|---|
protected float |
decelerationFactor
The deceleration factor. |
protected FadeStep |
delegate
Delegate. |
| Constructor Summary | |
|---|---|
FadeDecelerationStep(FadeStep delegate,
float decelerationFactor)
Creates an decelerated 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 decelerationFactor
| Constructor Detail |
|---|
public FadeDecelerationStep(FadeStep delegate,
float decelerationFactor)
delegate - Delegate.decelerationFactor - Deceleration factor.| Method Detail |
|---|
public float getNextStep(FadeKind fadeKind,
float currFadePosition,
boolean isFadeIn,
boolean isLooping)
FadeStep
getNextStep in interface FadeStepfadeKind - 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 | ||||||||