public class BookmarkTextOverlayAnimator extends Object implements OverlayAnimator
| Constructor and Description |
|---|
BookmarkTextOverlayAnimator(AbstractViewerPanel viewer) |
BookmarkTextOverlayAnimator(AbstractViewerPanel 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(AbstractViewerPanel viewer)
public BookmarkTextOverlayAnimator(AbstractViewerPanel 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 OverlayAnimatorpublic boolean isComplete()
OverlayAnimatorisComplete in interface OverlayAnimatorpublic boolean requiresRepaint()
OverlayAnimatorrequiresRepaint in interface OverlayAnimatorCopyright © 2012–2024 BigDataViewer. All rights reserved.