public abstract class BaseTextAnimation extends java.lang.Object implements TextAnimation
TextAnimation implementations| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | finished | 
| Constructor and Description | 
|---|
| BaseTextAnimation() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addTextAnimationListener(TextAnimationListener listener)Adds a  TextAnimationListenerto thisTextAnimation | 
| boolean | isFinished()Returns if the  TextAnimationhas finished | 
| void | removeTextAnimationListener(TextAnimationListener listener)Removes a  TextAnimationListenerfrom thisTextAnimation | 
| void | reset()Resets the finished state to false | 
| protected abstract void | resetState() | 
| protected void | setFinished(boolean finished)Sets if this  TextAnimationhas finished. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinterpolate, onResize, 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