Class Sequencer
- java.lang.Object
-
- org.uberfire.client.workbench.widgets.animations.Sequencer
-
public class Sequencer extends Object
Run a list of animations in order.
-
-
Constructor Summary
Constructors Constructor Description Sequencer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(SequencedAnimation animation, int duration)Add an animation to the list of animations to be sequenced.voidreset()Reset the sequence to the begining.voidrun()Run all animations.
-
-
-
Method Detail
-
add
public void add(SequencedAnimation animation, int duration)
Add an animation to the list of animations to be sequenced.- Parameters:
animation-duration-
-
run
public void run()
Run all animations.
-
reset
public void reset()
Reset the sequence to the begining.
-
-