com.croftsoft.core.animation.updater
Class TextWrapUpdater
java.lang.Object
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
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 |
TextWrapUpdater
public TextWrapUpdater(TextSprite textSprite,
int deltaX,
int deltaY,
Rectangle textWrapArea)
- Parameters:
textWrapArea
- If the textWrapArea is null, component.getBounds() will be used.
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 Core Javadoc (2008-09-28 20:58:02)