Interface Animator

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Returns true if the Animator has more elements.
      void next()
      Iterates to the next value.
      void set​(double interpolant)
      Set the value of the attached property to the value associated with this interpolant value.
      void start()
      Starts the Animator.
      void stop()
      Stops the Animator.
    • Method Detail

      • next

        void next()
        Iterates to the next value. The implementation is expected to apply that next value to the property it is attached to.
      • start

        void start()
        Starts the Animator. The implemenation should return true from hasNext
      • stop

        void stop()
        Stops the Animator. The implmenentation should return false from hasNext
      • hasNext

        boolean hasNext()
        Returns true if the Animator has more elements.
        Returns:
        true if the Animator has more elements.
      • set

        void set​(double interpolant)
        Set the value of the attached property to the value associated with this interpolant value.
        Parameters:
        interpolant - A value between 0 and 1.