All Packages Class Hierarchy This Package Previous Next Index
Class crw.awt.ArrowBlinker
java.lang.Object
|
+----java.lang.Thread
|
+----crw.awt.ArrowBlinker
- public class ArrowBlinker
- extends Thread
A blinking arrow object. The arrow blinks a specified number
of times and disappears.
- Version:
- 1.0, 1998/6/14
- Author:
- C. R. Wie
-
ArrowBlinker(Graphics, Polygon)
- Starts off a blinking arrow object.
-
ArrowBlinker(Graphics, Polygon, int)
- Starts off a blinking arrow object.
-
ArrowBlinker(Graphics, Polygon, int, boolean)
- Starts off a blinking arrow object.
-
run()
- The thread body that blinks and arrow.
ArrowBlinker
public ArrowBlinker(Graphics g,
Polygon p,
int NO,
boolean disps)
- Starts off a blinking arrow object. The arrow-shaped polygon
must be supplied by Plot.makeArrow() method.
- Parameters:
- g - the Graphics context.
- p - the arrow-shaped polygon object. Plot.makeArrow()
- NO - how many times to blink.
- disps - whether to dispose the Graphics object after blinking
ArrowBlinker
public ArrowBlinker(Graphics g,
Polygon p,
int NO)
- Starts off a blinking arrow object. The arrow-shaped polygon
must be supplied by Plot.makeArrow() method. Disposes the
Graphics object afterwards.
- Parameters:
- g - the Graphics context.
- p - the arrow-shaped polygon object. Plot.makeArrow()
- NO - how many times to blink.
ArrowBlinker
public ArrowBlinker(Graphics g,
Polygon p)
- Starts off a blinking arrow object. The arrow-shaped polygon
must be supplied by Plot.makeArrow() method. Disposes the
Graphics object afterwards. Blinks 8 times.
- Parameters:
- g - the Graphics context.
- p - the arrow-shaped polygon object. Plot.makeArrow()
run
public void run()
- The thread body that blinks and arrow. It calls the
Graphics.fillPolygon(Polygon) using XOR mode.
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index