public class AnimationUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnimationUtil.AnimationEndListener
For internal use only.
|
| Constructor and Description |
|---|
AnimationUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.google.gwt.core.client.JavaScriptObject |
addAnimationEndListener(com.google.gwt.dom.client.Element elem,
AnimationUtil.AnimationEndListener listener)
For internal use only.
|
static String |
getAnimationName(ComputedStyle cstyle)
For internal use only.
|
static String |
getAnimationName(com.google.gwt.dom.client.NativeEvent event)
For internal use only.
|
static void |
removeAllAnimationEndListeners(com.google.gwt.dom.client.Element elem)
For internal use only.
|
static boolean |
removeAnimationEndListener(com.google.gwt.dom.client.Element elem,
AnimationUtil.AnimationEndListener animationEndListener)
Removes the given animation listener.
|
static void |
removeAnimationEndListener(com.google.gwt.dom.client.Element elem,
com.google.gwt.core.client.JavaScriptObject listener)
For internal use only.
|
static void |
setAnimationDelay(com.google.gwt.dom.client.Element elem,
String delay)
For internal use only.
|
static void |
setAnimationDuration(com.google.gwt.dom.client.Element elem,
String duration)
For internal use only.
|
public static void setAnimationDuration(com.google.gwt.dom.client.Element elem,
String duration)
elem - the element whose animation-duration to setduration - the duration as a valid CSS valuepublic static void setAnimationDelay(com.google.gwt.dom.client.Element elem,
String delay)
elem - the element whose animation-delay to setdelay - the delay as a valid CSS valuepublic static com.google.gwt.core.client.JavaScriptObject addAnimationEndListener(com.google.gwt.dom.client.Element elem,
AnimationUtil.AnimationEndListener listener)
public static void removeAnimationEndListener(com.google.gwt.dom.client.Element elem,
com.google.gwt.core.client.JavaScriptObject listener)
public static boolean removeAnimationEndListener(com.google.gwt.dom.client.Element elem,
AnimationUtil.AnimationEndListener animationEndListener)
elem - the element which has the listeneranimationEndListener - the listener to removetrue if the listener was removed, false
if the listener was not registered to the given elementpublic static void removeAllAnimationEndListeners(com.google.gwt.dom.client.Element elem)
public static String getAnimationName(com.google.gwt.dom.client.NativeEvent event)
public static String getAnimationName(ComputedStyle cstyle)
Copyright © 2021 Vaadin Ltd. All rights reserved.