Class Animation

Object
   |
   +--Animation

class Animation

Defined in animation.js


Field Summary
 Object accelerationProfile
          a profile for the speed during the animation
 Object element
          pointer to element on which the animation is created
 Object onfinish
          a callback which will be called when the animation finishes
 Object onstart
          a callback which will be called befor the animation starts
 Object speed
          the default speed in percents
 Object style
          pointer to style object
 
Constructor Summary
Animation (element, speed, onstart, onfinish, accelerationProfile)
            To create a animation object.
 
Method Summary
 Object accelerate(x)
           a acceleration profile which will start slow and then accelerate
 Object addAnimation(property, from, to)
           to add a animation for a certain property.
 Object checkRun()
           to check if the animation is running
 Object constant(x)
           the default acceleration profile
 void run()
           to start the animation
 Object sine(x)
           a acceleration profile which will start slow, accelerate and slow done to the end

Field Detail

accelerationProfile

Object accelerationProfile

element

Object element

onfinish

Object onfinish

onstart

Object onstart

speed

Object speed

style

Object style

Constructor Detail

Animation

Animation(element, speed, onstart, onfinish, accelerationProfile)

Method Detail

accelerate

Object accelerate(x)

addAnimation

Object addAnimation(property, from, to)

checkRun

Object checkRun()

constant

Object constant(x)

run

void run()

sine

Object sine(x)


Documentation generated by JSDoc on Wed Jan 25 16:46:53 2006