|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.matthiasmann.twl.utils.TintAnimator.AnimationStateTimeSource
public static class TintAnimator.AnimationStateTimeSource
A time source which uses a specified animation state as time source.
| Constructor Summary | |
|---|---|
TintAnimator.AnimationStateTimeSource(AnimationState animState,
AnimationState.StateKey animStateKey)
|
|
TintAnimator.AnimationStateTimeSource(AnimationState animState,
java.lang.String animStateName)
|
|
| Method Summary | |
|---|---|
int |
getTime()
Returns the current time (since last reset) in milliseconds. |
void |
resetTime()
Calls resetAnimationTime on the animation state |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TintAnimator.AnimationStateTimeSource(AnimationState animState,
java.lang.String animStateName)
public TintAnimator.AnimationStateTimeSource(AnimationState animState,
AnimationState.StateKey animStateKey)
| Method Detail |
|---|
public int getTime()
TintAnimator.TimeSource
getTime in interface TintAnimator.TimeSourcepublic void resetTime()
resetTime in interface TintAnimator.TimeSourceAnimationState.resetAnimationTime(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||