com.supermap.mapping.dyn

Class Animator

  • java.lang.Object
    • com.supermap.mapping.dyn.Animator
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getDuration()
      Gets the animation duration.
      boolean isAnimating()
      Determines whether the animation is finished.
      void setDuration(int duration)
      Sets the animation duration.
      void stopAnimation()
      Stops the animation.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setDuration

        public void setDuration(int duration)
        Sets the animation duration.
        Parameters:
        duration - The animation duration, and the unit is millisecond.
      • getDuration

        public int getDuration()
        Gets the animation duration.
        Returns:
        The animation duration, and the unit is millisecond.
      • stopAnimation

        public void stopAnimation()
        Stops the animation.
      • isAnimating

        public boolean isAnimating()
        Determines whether the animation is finished.
        Returns:
        Boolean. true is the animation is finished; otherwise false.