public final class UpdateConfiguration extends NativeObjectContainer
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_LAZY
Default to enable the animation can be interrupted by other animations, false.
|
Constructor and Description |
---|
UpdateConfiguration() |
Modifier and Type | Method and Description |
---|---|
int |
getDuration()
Returns the time for the animation of the redraw in milliseconds.
|
Easing |
getEasing()
Returns the animation easing function.
|
boolean |
isLazy()
If true, the animation can be interrupted by other animations.
|
void |
setDuration(int milliseconds)
Sets the time for the animation of the redraw in milliseconds.
|
void |
setEasing(Easing easing)
Sets the animation easing function.
|
void |
setLazy(boolean intersect)
If true, the animation can be interrupted by other animations.
|
checkValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public static final boolean DEFAULT_LAZY
public void setEasing(Easing easing)
easing
- animation easing function.public Easing getEasing()
public void setDuration(int milliseconds)
milliseconds
- time for the animation of the redraw in milliseconds.public int getDuration()
public void setLazy(boolean intersect)
intersect
- if true, the animation can be interrupted by other animations.public boolean isLazy()