com.croftsoft.core.animation.updater
Class IconSequenceUpdater

java.lang.Object
  extended by com.croftsoft.core.animation.updater.IconSequenceUpdater
All Implemented Interfaces:
ComponentUpdater

public final class IconSequenceUpdater
extends Object
implements ComponentUpdater

Rotates through a sequence of Icons.

Since:
2002-03-15
Version:
2003-07-11
Author:
David Wallace Croft

Constructor Summary
IconSequenceUpdater(IconSprite iconSprite, Icon[] icons, long framePeriodNanos, Clock clock)
           
 
Method Summary
 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

IconSequenceUpdater

public IconSequenceUpdater(IconSprite iconSprite,
                           Icon[] icons,
                           long framePeriodNanos,
                           Clock clock)
Method Detail

update

public void update(JComponent component)
Description copied from interface: ComponentUpdater
Updates the state of a JComponent and calls repaint() as required.

Specified by:
update in interface ComponentUpdater

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)