public final class UpdateConfigurationBuilder extends AbstractBaseBuilder
UpdateConfiguration item.| Modifier and Type | Method and Description |
|---|---|
UpdateConfiguration |
build()
Returns a update configuration item.
|
static UpdateConfigurationBuilder |
create()
Returns new builder instance.
|
UpdateConfigurationBuilder |
setAnimateRotate(boolean animateRotate)
If
true, the chart will animate in with a rotation animation. |
UpdateConfigurationBuilder |
setAnimateScale(boolean animateScale)
If
true, will animate scaling the chart from the center outwards. |
UpdateConfigurationBuilder |
setDelay(int delay)
Sets the delay before starting the animations.
|
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 |
setLoop(boolean loop)
If set to
true, loops the animations endlessly. |
isBuilt, setBuiltclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAndGetIfValid, checkIfValid, isValidpublic 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 setDelay(int delay)
delay - the delay before starting the animationspublic UpdateConfigurationBuilder setLoop(boolean loop)
true, loops the animations endlessly.loop - true if loops the animations endlessly.public UpdateConfigurationBuilder setAnimateRotate(boolean animateRotate)
true, the chart will animate in with a rotation animation.animateRotate - If true, the chart will animate in with a rotation animation.public UpdateConfigurationBuilder setAnimateScale(boolean animateScale)
true, will animate scaling the chart from the center outwards.animateScale - If true, will animate scaling the chart from the center outwards.public UpdateConfiguration build()