public class TransitionConfig extends Object
MaterialWidget.setTransition(TransitionConfig)
.Constructor and Description |
---|
TransitionConfig() |
TransitionConfig(com.google.gwt.dom.client.Element target,
int duration,
int delay,
String property,
String timingFunction) |
TransitionConfig(com.google.gwt.dom.client.Element target,
int duration,
String property) |
TransitionConfig(int duration,
String property) |
Modifier and Type | Method and Description |
---|---|
int |
getDelay() |
int |
getDuration() |
String |
getProperty() |
com.google.gwt.dom.client.Element |
getTarget() |
String |
getTimingFunction() |
void |
setDelay(int delay)
Specifies a delay (in seconds) for the transition effect
|
void |
setDuration(int duration)
Specifies how many seconds or milliseconds a transition effect takes to complete (In milliseconds)
|
void |
setProperty(String property)
Specifies the name of the CSS property the transition effect is for.
|
void |
setTarget(com.google.gwt.dom.client.Element target)
Specifies the target element to apply the transition.
|
void |
setTimingFunction(String timingFunction)
Specifies the speed curve of the transition effect (In milliseconds)
|
public TransitionConfig()
public TransitionConfig(com.google.gwt.dom.client.Element target, int duration, int delay, String property, String timingFunction)
public TransitionConfig(int duration, String property)
public TransitionConfig(com.google.gwt.dom.client.Element target, int duration, String property)
public com.google.gwt.dom.client.Element getTarget()
public void setTarget(com.google.gwt.dom.client.Element target)
public int getDuration()
public void setDuration(int duration)
public int getDelay()
public void setDelay(int delay)
public String getProperty()
public void setProperty(String property)
public String getTimingFunction()
public void setTimingFunction(String timingFunction)
Copyright © 2018. All rights reserved.