public static class ComponentAnimation.UIMutation extends ComponentAnimation
ComponentAnimation.UIMutation| Constructor and Description |
|---|
UIMutation(Container cnt,
ComponentAnimation anim)
Creates a new UIMutation which mutates the given container with the provided
animation.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Container cnt,
ComponentAnimation anim)
Tries to add another mutation to this UIMutation.
|
void |
flush()
Flushes the animation immediately, this will be called if the form is de-initialized
|
int |
getMaxSteps()
The total number of steps in this animation.
|
boolean |
isInProgress()
Indicates if the animation is in progress
|
boolean |
isLocked()
Checks if this mutation is locked.
|
void |
setStep(int step)
Sets the current animation step to a value between 0 and maxSteps
|
protected void |
updateState()
Updates the animation state
|
addOnCompleteCall, compoundAnimation, getStep, isStepModeSupported, sequentialAnimation, setNotifyLock, setOnCompletion, updateAnimationStatepublic UIMutation(Container cnt, ComponentAnimation anim)
cnt - The container that is being mutated.anim - The animation.public boolean add(Container cnt, ComponentAnimation anim)
cnt - The container that is being mutated.anim - The animationisLocked() returns true (i.e. the animation has already stared), or if the mutation
is incompatible with any of the existing mutations in this mutation.public boolean isLocked()
protected void updateState()
ComponentAnimationpublic boolean isInProgress()
ComponentAnimationisInProgress in class ComponentAnimationpublic void flush()
ComponentAnimationflush in class ComponentAnimationpublic int getMaxSteps()
ComponentAnimationgetMaxSteps in class ComponentAnimationpublic void setStep(int step)
ComponentAnimationsetStep in class ComponentAnimationstep - the current step