public abstract class AnimationState<T> extends Object implements AnimationAction<T>
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnimationState.AnimationEndAction<T> |
static interface |
AnimationState.AnimationStartAction<T> |
AnimationAction.Animation<T>| Constructor and Description |
|---|
AnimationState() |
| Modifier and Type | Method and Description |
|---|---|
AnimationState.AnimationEndAction<T> |
getAnimationEndAction() |
AnimationState.AnimationStartAction<T> |
getAnimationStartAction() |
boolean |
shouldRun(AnimationState currentState)
By default, the animations are only allowed to run if the current state of the animated object matches
this state.
|
boolean |
shouldRunEndListener(AnimationState currentState)
By default, the animationEndListener is only allowed to run if the current state of the animated object matches
this state.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnimationspublic boolean shouldRun(AnimationState currentState)
public boolean shouldRunEndListener(AnimationState currentState)
public AnimationState.AnimationEndAction<T> getAnimationEndAction()
public AnimationState.AnimationStartAction<T> getAnimationStartAction()