public abstract class Animation
extends java.lang.Object
Animation
is a continuous event that updates progressively over
time at a non-fixed frame rate.Modifier and Type | Method and Description |
---|---|
void |
run()
Run this animation.
|
void |
stop()
Stops this animation.
|
public Animation()
Animation
.public void stop()
onStop()
will be called.public void run()
If the element is not null
, the onRefresh(double)
method might be called only if the element may be visible (generally left
at the appreciation of the browser). Otherwise, it will be called
unconditionally.