Class BookmarkTextOverlayAnimator

  • All Implemented Interfaces:
    OverlayAnimator

    public class BookmarkTextOverlayAnimator
    extends Object
    implements OverlayAnimator
    Draw one line of text in the center or bottom right of the display. Text is fading in and out.
    Author:
    Tobias Pietzsch
    • Method Detail

      • fadeIn

        public final void fadeIn​(String message,
                                 long fadeInDuration)
      • fadeOut

        public final void fadeOut​(String message,
                                  long fadeOutDuration)
      • clear

        public final void clear()
      • isComplete

        public boolean isComplete()
        Description copied from interface: OverlayAnimator
        Returns true if the animation is complete and the animator can be removed.
        Specified by:
        isComplete in interface OverlayAnimator
        Returns:
        whether the animation is complete and the animator can be removed.
      • requiresRepaint

        public boolean requiresRepaint()
        Description copied from interface: OverlayAnimator
        Returns true if the animator requires an immediate repaint to continue the animation.
        Specified by:
        requiresRepaint in interface OverlayAnimator
        Returns:
        whetherhe animator requires an immediate repaint.