public class BookmarkTextOverlayAnimator extends Object implements OverlayAnimator
Constructor and Description |
---|
BookmarkTextOverlayAnimator(ViewerPanel viewer) |
BookmarkTextOverlayAnimator(ViewerPanel viewer,
Font font) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
fadeIn(String message,
long fadeInDuration) |
void |
fadeOut(String message,
long fadeOutDuration) |
boolean |
isComplete()
Returns true if the animation is complete and the animator can be
removed.
|
void |
paint(Graphics2D g,
long time) |
boolean |
requiresRepaint()
Returns true if the animator requires an immediate repaint to continue
the animation.
|
public BookmarkTextOverlayAnimator(ViewerPanel viewer)
public BookmarkTextOverlayAnimator(ViewerPanel viewer, Font font)
public final void fadeIn(String message, long fadeInDuration)
public final void fadeOut(String message, long fadeOutDuration)
public final void clear()
public void paint(Graphics2D g, long time)
paint
in interface OverlayAnimator
public boolean isComplete()
OverlayAnimator
isComplete
in interface OverlayAnimator
public boolean requiresRepaint()
OverlayAnimator
requiresRepaint
in interface OverlayAnimator
Copyright © 2015–2021 Fiji. All rights reserved.