public abstract class BaseTextAnimation extends java.lang.Object implements TextAnimation
TextAnimation implementations| Constructor 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 |
void |
reset()
Resets the finished state to false
|
protected abstract void |
resetState() |
protected void |
setFinished(boolean finished)
Sets if this
TextAnimation has finished. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterpolate, render, skip, updateprotected abstract void resetState()
public boolean isFinished()
TextAnimationTextAnimation has finishedisFinished in interface TextAnimationpublic void reset()
reset in interface TextAnimationprotected void setFinished(boolean finished)
TextAnimation has finished. Will notify all
TextAnimationListeners when true.finished - True if finishedpublic void addTextAnimationListener(TextAnimationListener listener)
TextAnimationTextAnimationListener to this TextAnimationaddTextAnimationListener in interface TextAnimationlistener - The TextAnimationListener to be addedpublic void removeTextAnimationListener(TextAnimationListener listener)
TextAnimationTextAnimationListener from this TextAnimationremoveTextAnimationListener in interface TextAnimationlistener - The TextAnimationListener to be removed