com.croftsoft.core.animation.updater
Class TextWrapUpdater

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

public final class TextWrapUpdater
extends Object
implements ComponentUpdater

Slides text from one side to the other and then wraps back again.

Since:
2002-02-22
Version:
2002-03-23
Author:
David Wallace Croft

Constructor Summary
TextWrapUpdater(TextSprite textSprite, int deltaX, int deltaY, Rectangle textWrapArea)
           
 
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

TextWrapUpdater

public TextWrapUpdater(TextSprite textSprite,
                       int deltaX,
                       int deltaY,
                       Rectangle textWrapArea)
Parameters:
textWrapArea - If the textWrapArea is null, component.getBounds() will be used.
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)