01: package com.xoetrope.swing.animation;
02:
03: import org.jdesktop.animation.timing.Animator;
04:
05: /**
06: * An object that supports animation. The object may be in a series of animated
07: * objects sequenced by an AnimtaionThread.
08: *
09: * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
10: * the GNU Public License (GPL), please see license.txt for more details. If
11: * you make commercial use of this software you must purchase a commercial
12: * license from Xoetrope.</p>
13: * <p> $Revision: 1.4 $</p>
14: */
15: public interface AnimationObject extends AnimationStep {
16: /**
17: * Has the animation begun
18: *
19: * @param at the animation thread
20: * @return true if the animation has already started
21: */
22: public boolean isStarted(Animator at);
23:
24: /**
25: * Do the rendering of the animation object
26: * @param at the animation thread
27: */
28: public void render(Animator at);
29: }
|