Class Animation

    • Field Detail

      • NONE

        public static Animation NONE
        No animation at all
    • Constructor Detail

      • Animation

        public Animation()
    • Method Detail

      • setDuration

        public void setDuration​(Number duration)
        Sets the duration of the animation in milliseconds.
        Parameters:
        duration -
      • getDuration

        public Number getDuration()
        Returns the duration of the animation in milliseconds.

        Default: 400.

      • setEasing

        public void setEasing​(String easing)
        Sets the easing animation function.

        Default: swing

        Parameters:
        easing -
      • getEasing

        public String getEasing()
        Returns the easing animation function.

        Default: swing