de.frag.umlplugin.anim
Class AnimationPlayer

java.lang.Object
  extended by de.frag.umlplugin.anim.AnimationPlayer

public class AnimationPlayer
extends java.lang.Object

Plays animations.


Constructor Summary
AnimationPlayer()
           
 
Method Summary
 void addAnimationListener(AnimationListener listener)
          Adds an animation listener.
 void animate(AnimationObject animationObject)
          Plays the animation represented by the given animation object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationPlayer

public AnimationPlayer()
Method Detail

addAnimationListener

public void addAnimationListener(@NotNull
                                 AnimationListener listener)
Adds an animation listener.

Parameters:
listener - animation listener to add

animate

public void animate(@NotNull
                    AnimationObject animationObject)
Plays the animation represented by the given animation object

Parameters:
animationObject - animation object to be played