com.croftsoft.core.animation.animator
Class TextAnimator

java.lang.Object
  extended by com.croftsoft.core.animation.animator.TextAnimator
All Implemented Interfaces:
ComponentAnimator, ComponentPainter, ComponentUpdater, Serializable

public class TextAnimator
extends Object
implements ComponentAnimator, Serializable

Animates text.

Since:
2002-03-31
Version:
2002-03-31
See Also:
Serialized Form
Author:
David Wallace Croft

Constructor Summary
TextAnimator()
           
 
Method Summary
 int getDeltaX()
           
 int getDeltaY()
           
 String getText()
           
 int getX()
           
 int getY()
           
 void paint(JComponent component, Graphics2D graphics)
           
 void setDeltaX(int deltaX)
           
 void setDeltaY(int deltaY)
           
 void setText(String text)
           
 void setX(int x)
           
 void setY(int y)
           
 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

TextAnimator

public TextAnimator()
Method Detail

getDeltaX

public int getDeltaX()

getDeltaY

public int getDeltaY()

getText

public String getText()

getX

public int getX()

getY

public int getY()

setDeltaX

public void setDeltaX(int deltaX)

setDeltaY

public void setDeltaY(int deltaY)

setText

public void setText(String text)

setX

public void setX(int x)

setY

public void setY(int y)

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

paint

public void paint(JComponent component,
                  Graphics2D graphics)
Specified by:
paint in interface ComponentPainter

CroftSoft Javadoc

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