Class GraphText

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----GraphText

public class GraphText
extends Applet
implements Runnable
Parameters: text - the text to display font - the font to render the text in style - whether PLAIN, BOLD or ITALIC step - increments in font size each iteration type - blink (all chars same rate) wave ("the wave") random (random) align - left, center or right bgimage - background image URL bgcolor - background color (as RGB) fgcolor - foreground color naptime - time between iterations in millisecs min - minimum font size max - maximum font size


Variable Index

 o ALIGN_CENTER
 o ALIGN_LEFT
 o ALIGN_RIGHT
 o TYPE_BLINK
 o TYPE_RANDOM
 o TYPE_WAVE

Constructor Index

 o GraphText()

Method Index

 o init()
 o mouseDown(Event, int, int)
 o next()
 o paint(Graphics)
 o paintApplet(Graphics)
 o run()
 o start()
 o stop()
 o update(Graphics)

Variables

 o TYPE_BLINK
 public static final int TYPE_BLINK
 o TYPE_WAVE
 public static final int TYPE_WAVE
 o TYPE_RANDOM
 public static final int TYPE_RANDOM
 o ALIGN_LEFT
 public static final int ALIGN_LEFT
 o ALIGN_CENTER
 public static final int ALIGN_CENTER
 o ALIGN_RIGHT
 public static final int ALIGN_RIGHT

Constructors

 o GraphText
 public GraphText()

Methods

 o init
 public void init()
Overrides:
init in class Applet
 o start
 public void start()
Overrides:
start in class Applet
 o run
 public void run()
 o next
 public void next()
 o update
 public void update(Graphics g)
Overrides:
update in class Container
 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o paintApplet
 public void paintApplet(Graphics g)
 o stop
 public void stop()
Overrides:
stop in class Applet
 o mouseDown
 public boolean mouseDown(Event e,
                          int x,
                          int y)
Overrides:
mouseDown in class Component