|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtbootstrap3.extras.animate.client.ui.Animate
public class Animate
Utility class to dynamically animate objects using CSS animations.
| Constructor Summary | |
|---|---|
Animate()
|
|
| Method Summary | ||
|---|---|---|
static
|
animate(T widget,
Animation animation)
Animate any element with specific animation. |
|
static
|
animate(T widget,
Animation animation,
int count)
Animate any element with specific animation. |
|
static
|
animate(T widget,
Animation animation,
int count,
int duration)
Animate any element with specific animation. |
|
static
|
animate(T widget,
Animation animation,
int count,
int duration,
int delay)
Animate any element with specific animation. |
|
static
|
animate(T widget,
String animation)
Animate any element with specific animation. |
|
static
|
animate(T widget,
String animation,
int count)
Animate any element with specific animation. |
|
static
|
animate(T widget,
String animation,
int count,
int duration)
Animate any element with specific animation. |
|
static
|
animate(T widget,
String animation,
int count,
int duration,
int delay)
Animate any element with specific animation. |
|
static
|
removeAnimationOnEnd(T widget,
String animation)
Removes custom animation class on animation end. |
|
static
|
stopAnimation(T widget,
String animation)
Removes custom animation class and stops animation. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Animate()
| Method Detail |
|---|
public static <T extends UIObject> String animate(T widget,
Animation animation)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Type of animation to apply.
public static <T extends UIObject> String animate(T widget,
Animation animation,
int count)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Type of animation to apply.count - Number of animation repeats. 0 disables animation, any negative value set repeats to infinite.
public static <T extends UIObject> String animate(T widget,
Animation animation,
int count,
int duration)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Type of animation to apply.count - Number of animation repeats. 0 disables animation, any negative value set repeats to infinite.duration - Animation duration in ms. 0 disables animation, any negative value keeps default of original animation.
public static <T extends UIObject> String animate(T widget,
Animation animation,
int count,
int duration,
int delay)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Type of animation to apply.count - Number of animation repeats. 0 disables animation, any negative value set repeats to infinite.duration - Animation duration in ms. 0 disables animation, any negative value keeps default of original animation.delay - Delay before starting the animation loop in ms. Value <= 0 means no delay.
public static <T extends UIObject> String animate(T widget,
String animation)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Custom CSS class name used as animation.
public static <T extends UIObject> String animate(T widget,
String animation,
int count)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Custom CSS class name used as animation.count - Number of animation repeats. 0 disables animation, any negative value set repeats to infinite.
public static <T extends UIObject> String animate(T widget,
String animation,
int count,
int duration)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Custom CSS class name used as animation.count - Number of animation repeats. 0 disables animation, any negative value set repeats to infinite.duration - Animation duration in ms. 0 disables animation, any negative value keeps default of original animation.
public static <T extends UIObject> String animate(T widget,
String animation,
int count,
int duration,
int delay)
T - Any object extending UIObject class (typically Widget).widget - Widget to apply animation to.animation - Custom CSS class name used as animation.count - Number of animation repeats. 0 disables animation, any negative value set repeats to infinite.duration - Animation duration in ms. 0 disables animation, any negative value keeps default of original animation.delay - Delay before starting the animation loop in ms. Value <= 0 means no delay.
public static final <T extends UIObject> void removeAnimationOnEnd(T widget,
String animation)
widget - Element to remove style from.animation - Animation CSS class to remove.
public static final <T extends UIObject> void stopAnimation(T widget,
String animation)
widget - Element to remove style from.animation - Animation CSS class to remove.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||