org.af.commons.widgets.animated
Class AnimatedImage

java.lang.Object
  extended by org.af.commons.widgets.animated.AnimatedImage
All Implemented Interfaces:
AnimatedObject

public class AnimatedImage
extends Object
implements AnimatedObject


Field Summary
static String JUGGLE
           
 
Constructor Summary
AnimatedImage(String type)
           
AnimatedImage(String name, int max)
           
 
Method Summary
 double getMaxY()
           
 void next()
           
 void paint(Graphics2D g2, int alphaLevel, int x, int y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JUGGLE

public static final String JUGGLE
See Also:
Constant Field Values
Constructor Detail

AnimatedImage

public AnimatedImage(String name,
                     int max)

AnimatedImage

public AnimatedImage(String type)
Method Detail

getMaxY

public double getMaxY()
Specified by:
getMaxY in interface AnimatedObject

paint

public void paint(Graphics2D g2,
                  int alphaLevel,
                  int x,
                  int y)
Specified by:
paint in interface AnimatedObject

next

public void next()
Specified by:
next in interface AnimatedObject