Class UpdateConfigurationBuilder

    • Method Detail

      • setEasing

        public UpdateConfigurationBuilder setEasing​(Easing easing)
        Sets the animation easing function.
        Parameters:
        easing - animation easing function.
        Returns:
        builder instance
      • setDuration

        public 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
      • setDelay

        public UpdateConfigurationBuilder setDelay​(int delay)
        Sets the delay before starting the animations.
        Parameters:
        delay - the delay before starting the animations
        Returns:
        builder instance
      • setLoop

        public UpdateConfigurationBuilder setLoop​(boolean loop)
        If set to true, loops the animations endlessly.
        Parameters:
        loop - true if loops the animations endlessly.
        Returns:
        builder instance
      • setAnimateRotate

        public UpdateConfigurationBuilder setAnimateRotate​(boolean animateRotate)
        If true, 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
      • setAnimateScale

        public UpdateConfigurationBuilder setAnimateScale​(boolean animateScale)
        If true, 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
      • build

        public UpdateConfiguration build()
        Returns a update configuration item.
        Returns:
        a update configuration item