com.croftsoft.apps.exemplar
Class ExemplarAnimator

java.lang.Object
  extended by com.croftsoft.apps.exemplar.ExemplarAnimator
All Implemented Interfaces:
ComponentAnimator, ComponentPainter, ComponentUpdater

public final class ExemplarAnimator
extends Object
implements ComponentAnimator

ComponentAnimator.

Since:
2005-08-12
Version:
$Date: 2008/02/15 22:38:03 $
Author:
David Wallace Croft

Constructor Summary
ExemplarAnimator(ExemplarConfig exemplarConfig, ExemplarModel exemplarModel, JComponent jComponent)
          Main constructor.
 
Method Summary
 void paint(JComponent jComponent, Graphics2D graphics2D)
           
 void update(JComponent jComponent)
          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

ExemplarAnimator

public ExemplarAnimator(ExemplarConfig exemplarConfig,
                        ExemplarModel exemplarModel,
                        JComponent jComponent)
Main constructor.

Method Detail

paint

public void paint(JComponent jComponent,
                  Graphics2D graphics2D)
Specified by:
paint in interface ComponentPainter

update

public void update(JComponent jComponent)
Description copied from interface: com.croftsoft.core.animation.ComponentUpdater
Updates the state of a JComponent and calls repaint() as required.

Specified by:
update in interface ComponentUpdater

CroftSoft Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)