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
-
ALIGN_CENTER
-
-
ALIGN_LEFT
-
-
ALIGN_RIGHT
-
-
TYPE_BLINK
-
-
TYPE_RANDOM
-
-
TYPE_WAVE
-
-
GraphText()
-
-
init()
-
-
mouseDown(Event, int, int)
-
-
next()
-
-
paint(Graphics)
-
-
paintApplet(Graphics)
-
-
run()
-
-
start()
-
-
stop()
-
-
update(Graphics)
-
TYPE_BLINK
public static final int TYPE_BLINK
TYPE_WAVE
public static final int TYPE_WAVE
TYPE_RANDOM
public static final int TYPE_RANDOM
ALIGN_LEFT
public static final int ALIGN_LEFT
ALIGN_CENTER
public static final int ALIGN_CENTER
ALIGN_RIGHT
public static final int ALIGN_RIGHT
GraphText
public GraphText()
init
public void init()
- Overrides:
- init in class Applet
start
public void start()
- Overrides:
- start in class Applet
run
public void run()
next
public void next()
update
public void update(Graphics g)
- Overrides:
- update in class Container
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
paintApplet
public void paintApplet(Graphics g)
stop
public void stop()
- Overrides:
- stop in class Applet
mouseDown
public boolean mouseDown(Event e,
int x,
int y)
- Overrides:
- mouseDown in class Component