public class MaterialAnimation extends Object implements HasDurationTransition, HasDelayTransition
| Constructor and Description |
|---|
MaterialAnimation() |
MaterialAnimation(com.google.gwt.user.client.ui.Widget widget) |
| Modifier and Type | Method and Description |
|---|---|
void |
animate() |
void |
animate(gwt.material.design.jquery.client.api.Functions.Func callback) |
void |
animate(com.google.gwt.user.client.ui.Widget widget) |
void |
animate(com.google.gwt.user.client.ui.Widget widget,
gwt.material.design.jquery.client.api.Functions.Func callback) |
MaterialAnimation |
delay(int delay) |
MaterialAnimation |
duration(int duration) |
int |
getDelay()
Get the animation duration delay in milliseconds.
|
int |
getDuration()
Get the animation duration in milliseconds.
|
Transition |
getTransition() |
com.google.gwt.user.client.ui.Widget |
getWidget() |
MaterialAnimation |
infinite(boolean infinite) |
boolean |
isInfinite() |
void |
setDelay(int delay)
Set the animation duration delay in milliseconds.
|
void |
setDuration(int duration)
Set the animation duration in milliseconds.
|
void |
setInfinite(boolean infinite) |
void |
setTransition(Transition transition) |
void |
stopAnimation()
Stop an animation.
|
MaterialAnimation |
transition(Transition transition) |
public MaterialAnimation()
public MaterialAnimation(com.google.gwt.user.client.ui.Widget widget)
public MaterialAnimation transition(Transition transition)
public MaterialAnimation delay(int delay)
public MaterialAnimation duration(int duration)
public MaterialAnimation infinite(boolean infinite)
public void animate()
public void animate(com.google.gwt.user.client.ui.Widget widget)
public void animate(gwt.material.design.jquery.client.api.Functions.Func callback)
public void animate(com.google.gwt.user.client.ui.Widget widget, gwt.material.design.jquery.client.api.Functions.Func callback)
public void stopAnimation()
public com.google.gwt.user.client.ui.Widget getWidget()
public Transition getTransition()
public void setTransition(Transition transition)
public void setDelay(int delay)
HasDelayTransitionsetDelay in interface HasDelayTransitionpublic int getDelay()
HasDelayTransitiongetDelay in interface HasDelayTransitionpublic void setDuration(int duration)
HasDurationTransitionsetDuration in interface HasDurationTransitionpublic int getDuration()
HasDurationTransitiongetDuration in interface HasDurationTransitionpublic boolean isInfinite()
public void setInfinite(boolean infinite)
Copyright © 2018. All rights reserved.