Package org.pepstock.charba.client
Class UpdateConfigurationBuilder
- java.lang.Object
- 
- org.pepstock.charba.client.commons.AbstractBaseBuilder
- 
- org.pepstock.charba.client.UpdateConfigurationBuilder
 
 
- 
- All Implemented Interfaces:
- IsBuilder
 
 public final class UpdateConfigurationBuilder extends AbstractBaseBuilder Comfortable object to createUpdateConfigurationitem.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateConfigurationbuild()Returns a update configuration item.static UpdateConfigurationBuildercreate()Returns new builder instance.UpdateConfigurationBuildersetAnimateRotate(boolean animateRotate)Iftrue, the chart will animate in with a rotation animation.UpdateConfigurationBuildersetAnimateScale(boolean animateScale)Iftrue, will animate scaling the chart from the center outwards.UpdateConfigurationBuildersetDelay(int delay)Sets the delay before starting the animations.UpdateConfigurationBuildersetDuration(int milliseconds)Sets the time for the animation of the redraw in milliseconds.UpdateConfigurationBuildersetEasing(Easing easing)Sets the animation easing function.UpdateConfigurationBuildersetLoop(boolean loop)If set totrue, loops the animations endlessly.- 
Methods inherited from class org.pepstock.charba.client.commons.AbstractBaseBuilderisBuilt, setBuilt
 
- 
 
- 
- 
- 
Method Detail- 
createpublic static UpdateConfigurationBuilder create() Returns new builder instance.- Returns:
- new builder instance
 
 - 
setEasingpublic UpdateConfigurationBuilder setEasing(Easing easing) Sets the animation easing function.- Parameters:
- easing- animation easing function.
- Returns:
- builder instance
 
 - 
setDurationpublic UpdateConfigurationBuilder setDuration(int milliseconds) Sets the time for the animation of the redraw in milliseconds.- Parameters:
- milliseconds- time for the animation of the redraw in milliseconds.
- Returns:
- builder instance
 
 - 
setDelaypublic UpdateConfigurationBuilder setDelay(int delay) Sets the delay before starting the animations.- Parameters:
- delay- the delay before starting the animations
- Returns:
- builder instance
 
 - 
setLooppublic UpdateConfigurationBuilder setLoop(boolean loop) If set totrue, loops the animations endlessly.- Parameters:
- loop-- trueif loops the animations endlessly.
- Returns:
- builder instance
 
 - 
setAnimateRotatepublic UpdateConfigurationBuilder setAnimateRotate(boolean animateRotate) Iftrue, the chart will animate in with a rotation animation.- Parameters:
- animateRotate- If- true, the chart will animate in with a rotation animation.
- Returns:
- builder instance
 
 - 
setAnimateScalepublic UpdateConfigurationBuilder setAnimateScale(boolean animateScale) Iftrue, will animate scaling the chart from the center outwards.- Parameters:
- animateScale- If- true, will animate scaling the chart from the center outwards.
- Returns:
- builder instance
 
 - 
buildpublic UpdateConfiguration build() Returns a update configuration item.- Returns:
- a update configuration item
 
 
- 
 
-