public abstract class BaseTextAnimation extends java.lang.Object implements TextAnimation
TextAnimation
implementationsConstructor and Description |
---|
BaseTextAnimation() |
Modifier and Type | Method and Description |
---|---|
void |
addTextAnimationListener(TextAnimationListener listener)
Adds a
TextAnimationListener to this TextAnimation |
boolean |
isFinished()
Returns if the
TextAnimation has finished |
void |
removeTextAnimationListener(TextAnimationListener listener)
Removes a
TextAnimationListener from this TextAnimation |
protected void |
setFinished(boolean finished)
Sets if this
TextAnimation has finished. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
interpolate, render, skip, update
public boolean isFinished()
TextAnimation
TextAnimation
has finishedisFinished
in interface TextAnimation
protected void setFinished(boolean finished)
TextAnimation
has finished. Will notify all
TextAnimationListener
s when true.finished
- True if finishedpublic void addTextAnimationListener(TextAnimationListener listener)
TextAnimation
TextAnimationListener
to this TextAnimation
addTextAnimationListener
in interface TextAnimation
listener
- The TextAnimationListener
to be addedpublic void removeTextAnimationListener(TextAnimationListener listener)
TextAnimation
TextAnimationListener
from this TextAnimation
removeTextAnimationListener
in interface TextAnimation
listener
- The TextAnimationListener
to be removed