public abstract class ComponentAnimation extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ComponentAnimation.UIMutationA special kind of ComponentAnimation that encapsulates a mutation of the 
 user interface. | 
| Constructor and Description | 
|---|
| ComponentAnimation() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addOnCompleteCall(Runnable r)Invokes the runnable just as the animation finishes thus allowing cleanup of the UI for the upcoming 
 animations, this is useful when running a complex sequence | 
| static ComponentAnimation | compoundAnimation(ComponentAnimation... anims)Allows us to create an animation that compounds several separate animations so they appear as a 
 single animation to the system and process in parallel | 
| 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. | 
| int | getStep() | 
| abstract boolean | isInProgress()Indicates if the animation is in progress | 
| boolean | isStepModeSupported()Step mode allows stepping thru an animation one frame at a time, e.g. | 
| static ComponentAnimation | sequentialAnimation(ComponentAnimation... anims)Allows us to create an animation that places several separate animations in a sequence so they appear as a 
 single animation to the system and process one after the other | 
| void | setNotifyLock(Object l)This method is used internally by the addAnimationAndBlock method of AnimationManager and shouldn't
 be used outside of that. | 
| void | setOnCompletion(Runnable r)This method is used internally by the addAnimation method of AnimationManager and shouldn't
 be used outside of that. | 
| void | setStep(int step)Sets the current animation step to a value between 0 and maxSteps | 
| void | updateAnimationState()Invoked by the animation manager internally | 
| protected abstract void | updateState()Updates the animation state | 
public void addOnCompleteCall(Runnable r)
r - the runnable to call when the animation is donepublic boolean isStepModeSupported()
public void setStep(int step)
step - the current steppublic int getStep()
public int getMaxSteps()
public abstract boolean isInProgress()
protected abstract void updateState()
public final void updateAnimationState()
public void flush()
public final void setNotifyLock(Object l)
l - the lock objectpublic final void setOnCompletion(Runnable r)
r - the callbackpublic static ComponentAnimation compoundAnimation(ComponentAnimation... anims)
anims - the animationspublic static ComponentAnimation sequentialAnimation(ComponentAnimation... anims)
anims - the animations