Class ryw.XTicker
All Packages Class Hierarchy This Package Previous Next Index
Class ryw.XTicker
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Canvas
|
+----ryw.XTicker
- public class XTicker
- extends Canvas
- implements Runnable
the way this thing works:
it has a print buffer and a queue of strings to be printed.
during each iteration, we shift the print buffer to the left by
one character. the right end of the print buffer is padded with
spaces or stuff from the print queue.
-
XTicker(int, int)
-
-
addString(String)
-
-
initialize(String)
-
-
paint(Graphics)
-
-
run()
-
-
start()
-
-
stop()
-
XTicker
public XTicker(int w,
int h)
initialize
public void initialize(String initMsg)
paint
public void paint(Graphics g)
- Overrides:
- paint in class Canvas
start
public void start()
stop
public void stop()
run
public void run()
addString
public void addString(String str)
All Packages Class Hierarchy This Package Previous Next Index