|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.utils.AnimationUtils
public final class AnimationUtils
This class provides a set of utilities to simplify UI animation code.
Constructor Summary | |
---|---|
AnimationUtils()
|
Method Summary | |
---|---|
static float |
calculateSpeed(float location,
float minSpeed,
float maxSpeed)
Returns move animation speed depending on the animated object location. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnimationUtils()
Method Detail |
---|
public static float calculateSpeed(float location, float minSpeed, float maxSpeed)
location
- object location on its pathminSpeed
- minimum desired object speed, used when object is close to path start and endmaxSpeed
- maximum desired object speed, used when object is in the middle of its path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |