AnimeJ: a Javascript animation library

Class AnimeJInterpolatedTask

Object
   |
   +--AnimeJTask
         |
         +--AnimeJInterpolatedTask

<private> class AnimeJInterpolatedTask
extends AnimeJTask


Task for scheduling interpolators on the timer library. The task is not trivial because it supports suspension and resuming of tasks that means changing the absolute deadlines inside the heap.
See:

Defined in AnimeJ.js


Field Summary
 {int} Duration
          Duration of the whole transition in milliseconds.
 Object prototype
          
 {bool} Reverse
          If true interpolators are invoked with 1 - v rather than v.
 {int} Start
          Offset used to take into account suspension of task execution.
 
Constructor Summary
AnimeJInterpolatedTask(<AnimeJLinearInterpolator> interp, <int> ms, <int> stepms)
           
 
Method Summary
 void DoAction(<int> d)
           It performs a step of animation by invoking the interpolator.
 void OnPause()
           Invoked when the task is suspended, updates the internal state.
 void OnResume()
           Invoked when the task is resumed, updates the internal state.
 void OnStop()
           Invoked when the task is stopped, updates the internal state.

Field Detail

Duration

{int} Duration

prototype

Object prototype

Reverse

{bool} Reverse

Start

{int} Start

Constructor Detail

AnimeJInterpolatedTask

AnimeJInterpolatedTask(<AnimeJLinearInterpolator> interp, <int> ms, <int> stepms)

Method Detail

DoAction

void DoAction(<int> d)

OnPause

void OnPause()

OnResume

void OnResume()

OnStop

void OnStop()

AnimeJ: a Javascript animation library

Documentation generated by JSDoc on Thu Apr 15 11:15:01 2010