de.matthiasmann.twl.utils
Interface TintAnimator.TimeSource

All Known Implementing Classes:
TintAnimator.AnimationStateTimeSource, TintAnimator.GUITimeSource
Enclosing class:
TintAnimator

public static interface TintAnimator.TimeSource

A time source for the fade animation


Method Summary
 int getTime()
          Returns the current time (since last reset) in milliseconds.
 void resetTime()
          Restarts the time from 0 for a new fade animation
 

Method Detail

resetTime

void resetTime()
Restarts the time from 0 for a new fade animation


getTime

int getTime()
Returns the current time (since last reset) in milliseconds.

Returns:
current time in ms