Class cssa_Animation
Object
|
+--cssa_Animation
-
Direct Known Subclasses:
-
cssa_AnimationColor, cssa_AnimationInteger
- class
cssa_Animation
Abstract class that defines the concept of an animation. All
animation classes should inherit from this one and call init() in
their constructor
Author: Arnaud Aubert - aaubert@magesi.com
Defined in cssa.js
Field Summary |
int |
curKey
The current iteration number to complete animation |
int |
duration
The number of milliseconds the animation takes to run |
int |
nbFrames
The total number of iterations to complete the animation |
Method Summary |
Object
|
init(<element> elem, <String> propname, <String> to, <int> duration, <boolean> bLoop, <boolean> bRevert)
This method is used internally and called by children to initialize
basic properties.
|
curKey
int curKey
The current iteration number to complete animation
duration
int duration
The number of milliseconds the animation takes to run
nbFrames
int nbFrames
The total number of iterations to complete the animation
cssa_Animation
cssa_Animation()
Define the concept of animation
Author: Arnaud Aubert - aaubert@magesi.com
init
Object init(<element> elem, <String> propname, <String> to, <int> duration, <boolean> bLoop, <boolean> bRevert)
This method is used internally and called by children to initialize
basic properties.
Parameters:
elem
- A reference to the element being animated
propname
- Name of the CSS property name to animate
to
- Final value for the CSS property
duration
- Number of milliseconds for the animation to complete
bLoop
- True if the animation must restart upon completion
bRevert
- True if the animation should reanimate to its initial value upon completion
Author: Arnaud Aubert - aaubert@magesi.com
Documentation generated by
JSDoc on Fri Oct 13 23:00:17 2006