Class Index | File Index

Classes


Class zwt.animation.Size


Extends zwt.animation.Animation.

A size animation is used to animate the size of an element (height or width).


Defined in: Size.js.

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

<static> {Integer} zwt.animation.Size.TYPE_WIDTH
Indicate a width animation
Method Detail
{Integer} getType()
Return the size animation type.
Returns:
The size animation type

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

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jan 12 2012 02:07:52 GMT+0100 (CET)