Package ej.mwt.animation
Interface Animation
-
public interface Animation
An animation is responsible for animating a element (usually a visual one).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
tick(long platformTimeMillis)
Called regularly by an animator.
-
-
-
Method Detail
-
tick
boolean tick(long platformTimeMillis)
Called regularly by an animator.The given time is based on
Util.platformTimeMillis()
which is monotonic.This method is executed in the MicroUI thread.
- Parameters:
platformTimeMillis
- the time in milliseconds.- Returns:
true
if the animation continue,false
if the animation must stop.
-
-