com.gwtext.client.core
Class AnimationConfig

java.lang.Object
  extended by com.gwtext.client.core.JsObject
      extended by com.gwtext.client.core.BaseConfig
          extended by com.gwtext.client.core.AnimationConfig

public class AnimationConfig
extends BaseConfig

Configuration class for amination settings.

See Also:
BaseElement

Field Summary
 
Fields inherited from class com.gwtext.client.core.JsObject
jsObj
 
Constructor Summary
AnimationConfig()
           
 
Method Summary
 void setCallback(Function callback)
          A function to execute when the anim completes.
 void setDuration(float duration)
          The duration of the animation in seconds
 void setEasing(com.gwtext.client.animation.Easing easing)
          The Easing method.
 
Methods inherited from class com.gwtext.client.core.JsObject
getJsObj, getProperties, isCreated, setJsObj
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationConfig

public AnimationConfig()
Method Detail

setDuration

public void setDuration(float duration)
The duration of the animation in seconds

Parameters:
duration - defaults to 0.35

setEasing

public void setEasing(com.gwtext.client.animation.Easing easing)
The Easing method.

Parameters:
easing - defaults to Easing.EASE_NONE

setCallback

public void setCallback(Function callback)
A function to execute when the anim completes.

Parameters:
callback - the callback function