public final class UpdateConfigurationBuilder extends Object
UpdateConfiguration
item.Modifier and Type | Method and Description |
---|---|
UpdateConfiguration |
build()
Returns a update configuration item.
|
static UpdateConfigurationBuilder |
create()
Returns new builder instance.
|
UpdateConfigurationBuilder |
setDuration(int milliseconds)
Sets the time for the animation of the redraw in milliseconds.
|
UpdateConfigurationBuilder |
setEasing(Easing easing)
Sets the animation easing function.
|
UpdateConfigurationBuilder |
setLazy(boolean intersect)
If
true , the animation can be interrupted by other animations. |
public static UpdateConfigurationBuilder create()
public UpdateConfigurationBuilder setEasing(Easing easing)
easing
- animation easing function.public UpdateConfigurationBuilder setDuration(int milliseconds)
milliseconds
- time for the animation of the redraw in milliseconds.public UpdateConfigurationBuilder setLazy(boolean intersect)
true
, the animation can be interrupted by other animations.intersect
- if true
, the animation can be interrupted by other animations.public UpdateConfiguration build()