| Constructor and Description |
|---|
Animate() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends UIObject> |
animate(T widget,
Animation animation)
Animate any element with specific animation.
|
static <T extends UIObject> |
animate(T widget,
Animation animation,
int count)
Animate any element with specific animation.
|
static <T extends UIObject> |
animate(T widget,
Animation animation,
int count,
int duration)
Animate any element with specific animation.
|
static <T extends UIObject> |
animate(T widget,
Animation animation,
int count,
int duration,
int delay)
Animate any element with specific animation.
|
static <T extends UIObject> |
animate(T widget,
String animation)
Animate any element with specific animation.
|
static <T extends UIObject> |
animate(T widget,
String animation,
int count)
Animate any element with specific animation.
|
static <T extends UIObject> |
animate(T widget,
String animation,
int count,
int duration)
Animate any element with specific animation.
|
static <T extends UIObject> |
animate(T widget,
String animation,
int count,
int duration,
int delay)
Animate any element with specific animation.
|
static <T extends UIObject> |
removeAnimationOnEnd(T widget,
String animation)
Removes custom animation class on animation end.
|
static <T extends UIObject> |
stopAnimation(T widget,
String animation)
Removes custom animation class and stops animation.
|
public Animate()
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.Copyright © 2017. All rights reserved.