Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gwtext.client.core
Class AnimationConfig

    java.lang.Object
      com.gwtext.client.core.JsObject
          com.gwtext.client.core.BaseConfig
              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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD