org.af.commons.widgets.animated
Class Star

java.lang.Object
  extended by java.awt.geom.Area
      extended by org.af.commons.widgets.animated.Star
All Implemented Interfaces:
Shape, Cloneable, AnimatedObject

public class Star
extends Area
implements AnimatedObject


Constructor Summary
Star(int barsCount)
           
 
Method Summary
 int getBarsCount()
           
 double getMaxY()
           
 void moveTo(int x, int y)
           
 void next()
           
 void paint(Graphics2D g2, int alphaLevel, int x, int y)
           
 
Methods inherited from class java.awt.geom.Area
add, clone, contains, contains, contains, contains, createTransformedArea, equals, exclusiveOr, getBounds, getBounds2D, getPathIterator, getPathIterator, intersect, intersects, intersects, isEmpty, isPolygonal, isRectangular, isSingular, reset, subtract, transform
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Star

public Star(int barsCount)
Method Detail

getBarsCount

public int getBarsCount()

next

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

moveTo

public void moveTo(int x,
                   int y)

paint

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

getMaxY

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