com.threerings.opengl.model
Class AnimationAdapter

java.lang.Object
  extended by com.threerings.opengl.model.AnimationAdapter
All Implemented Interfaces:
AnimationObserver
Direct Known Subclasses:
ModelAdapter

public class AnimationAdapter
extends Object
implements AnimationObserver

An adapter class for AnimationObserver.


Constructor Summary
AnimationAdapter()
           
 
Method Summary
 boolean animationStarted(Animation animation)
          Notes that an animation has started.
 boolean animationStopped(Animation animation, boolean completed)
          Notifies the observer that the animation has stopped.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnimationAdapter

public AnimationAdapter()
Method Detail

animationStarted

public boolean animationStarted(Animation animation)
Description copied from interface: AnimationObserver
Notes that an animation has started.

Specified by:
animationStarted in interface AnimationObserver
Returns:
true to keep the observer in the list, false to remove it.

animationStopped

public boolean animationStopped(Animation animation,
                                boolean completed)
Description copied from interface: AnimationObserver
Notifies the observer that the animation has stopped.

Specified by:
animationStopped in interface AnimationObserver
completed - whether or not the animation ran to completion (as opposed to being cancelled).
Returns:
true to keep the observer in the list, false to remove it.


Copyright © 2011. All Rights Reserved.