|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jvnet.lafwidget.utils.LafConstants.AnimationKind
public static class LafConstants.AnimationKind
Animation kind.
Field Summary | |
---|---|
static LafConstants.AnimationKind |
DEBUG
Animation for debug purposes (ultra-slow). |
static LafConstants.AnimationKind |
DEBUG_FAST
Animation for debug purposes (slow). |
static LafConstants.AnimationKind |
DEBUG_SLOW
Animation for debug purposes (extremely-slow). |
static LafConstants.AnimationKind |
FAST
Fast animation. |
static LafConstants.AnimationKind |
NONE
No animation. |
static LafConstants.AnimationKind |
REGULAR
Regular (default) animation. |
static LafConstants.AnimationKind |
SLOW
Slow animation. |
Constructor Summary | |
---|---|
LafConstants.AnimationKind(FadeStep step,
java.lang.String name)
Creates a new animation kind. |
Method Summary | |
---|---|
LafConstants.AnimationKind |
derive(float factor)
Creates a derived (accelerated or decelerated) animation kind. |
java.lang.String |
getName()
Returns the name of this animation. |
FadeStep |
getStep()
Returns the step of this animation in seconds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LafConstants.AnimationKind NONE
public static final LafConstants.AnimationKind DEBUG_SLOW
public static final LafConstants.AnimationKind DEBUG
public static final LafConstants.AnimationKind DEBUG_FAST
public static final LafConstants.AnimationKind SLOW
public static final LafConstants.AnimationKind REGULAR
public static final LafConstants.AnimationKind FAST
Constructor Detail |
---|
public LafConstants.AnimationKind(FadeStep step, java.lang.String name)
step
- Animation increment step.name
- Animation kind name.Method Detail |
---|
public FadeStep getStep()
this
animation in seconds.
this
animation in seconds.public java.lang.String getName()
this
animation.
this
animation.public LafConstants.AnimationKind derive(float factor)
factor
- Derivation factor. Should be greater than zero.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |