Class Index | File Index

Classes


Class zwt.animation.Translation


Extends zwt.animation.Animation.

A translation animation is used to animate the position of an element (left or top).


Defined in: Translation.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
zwt.animation.Translation(Element_element)
Construct a translation animation.
Field Summary
Field Attributes Field Name and Description
<static>  
zwt.animation.Translation.TYPE_HORIZONTAL
Indicate a horizontal animation
<static>  
zwt.animation.Translation.TYPE_VERTICAL
Indicate a vertical animation
Method Summary
Method Attributes Method Name and Description
 
Return the translation animation type.
 
setType(The)
Set the translation animation type.
Methods borrowed from class zwt.animation.Animation:
getAnimationEventManager, getDuration, getEngine, onEvent, setDuration, setEngine, step
Class Detail
zwt.animation.Translation(Element_element)
Construct a translation animation.
Author: Jeremy KUHN.
Parameters:
{Element} Element_element
The element to animate.
Field Detail
<static> {Integer} zwt.animation.Translation.TYPE_HORIZONTAL
Indicate a horizontal animation

<static> {Integer} zwt.animation.Translation.TYPE_VERTICAL
Indicate a vertical animation
Method Detail
{Integer} getType()
Return the translation animation type.
Returns:
The translation animation type

setType(The)
Set the translation animation type.
Parameters:
{Integer} The
translation animation type

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Nov 09 2011 19:29:07 GMT+0100 (CET)