|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.croftsoft.core.animation.animator.TileAnimator
public final class TileAnimator
Paints a sliding tile pattern.
Constructor Summary | |
---|---|
TileAnimator(int offsetX,
int offsetY,
Icon icon,
Shape tileShape,
int deltaX,
int deltaY)
Convenience constructor. |
|
TileAnimator(TilePainter tilePainter,
int deltaX,
int deltaY)
Main constructor. |
Method Summary | |
---|---|
void |
paint(JComponent component,
Graphics2D graphics)
|
void |
update(JComponent component)
Updates the state of a JComponent and calls repaint() as required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TileAnimator(TilePainter tilePainter, int deltaX, int deltaY)
public TileAnimator(int offsetX, int offsetY, Icon icon, Shape tileShape, int deltaX, int deltaY)
Method Detail |
---|
public void update(JComponent component)
ComponentUpdater
update
in interface ComponentUpdater
public void paint(JComponent component, Graphics2D graphics)
paint
in interface ComponentPainter
|
CroftSoft Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |