All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class crw.awt.PlotBlinking

java.lang.Object
   |
   +----crw.awt.PlotBlinking

public class PlotBlinking
extends Object
A utility class for drawing commonly used lines, etc.

Version:
1.0, 1998/2/4
Author:
C. R. Wie

Constructor Index

 o PlotBlinking()

Method Index

 o drawBlinkingArrow(Graphics, int, int, char)
Draws a solid, blinking arrow, vertical or horizontal.
 o drawBlinkingArrow(Graphics, int, int, char, boolean)
Draws a solid, blinking arrow, vertical or horizontal.
 o drawBlinkingArrow(Graphics, int, int, char, int, boolean)
Draws a solid, blinking arrow, vertical or horizontal.
 o drawBlinkingArrow(Graphics, int, int, char, int, int, boolean)
Draws a solid, blinking arrow, vertical or horizontal.
 o drawBlinkingArrow(Graphics, int, int, String)
Draws a solid, blinking arrow oriented 45 degrees.
 o drawBlinkingArrow(Graphics, int, int, String, boolean)
Draws a solid, blinking arrow oriented 45 degrees.
 o drawBlinkingArrow(Graphics, int, int, String, int, boolean)
Draws a solid, blinking arrow oriented 45 degrees.
 o drawBlinkingArrow(Graphics, int, int, String, int, int, boolean)
Draws a solid, blinking arrow oriented 45 degrees.

Constructors

 o PlotBlinking
 public PlotBlinking()

Methods

 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x0,
                                      int y0,
                                      char orient,
                                      int size,
                                      int blinkTimes,
                                      boolean disposeGraphics)
Draws a solid, blinking arrow, vertical or horizontal.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: 'N', 'S', 'E', or 'W'.
size - the arrow size: ranges 3 to 12.
blinkTimes - how many times to blink before disappearing.
disposeGraphics - whether to dispose the Graphics object after blinking
 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x0,
                                      int y0,
                                      char orient,
                                      int size,
                                      boolean disposeGraphics)
Draws a solid, blinking arrow, vertical or horizontal. Blinks 16 times.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: 'N', 'S', 'E', or 'W'.
size - the arrow size: ranges 3 to 12.
disposeGraphics - whether to dispose the Graphics object after blinking
 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x,
                                      int y,
                                      char orient,
                                      boolean disposeGraphics)
Draws a solid, blinking arrow, vertical or horizontal. Default size is 5. Blinks 8 times.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: 'N', 'S', 'E', or 'W'.
disposeGraphics - whether to dispose the Graphics object after blinking
 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x,
                                      int y,
                                      char orient)
Draws a solid, blinking arrow, vertical or horizontal. Size = 5, Blinks 16 times, Dispose graphics.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: 'N', 'S', 'E', or 'W'.
 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x0,
                                      int y0,
                                      String orient,
                                      int size,
                                      int blinkTimes,
                                      boolean disposeGraphics)
Draws a solid, blinking arrow oriented 45 degrees.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: "NW", "NE", "SE", or "SW".
size - the arrow size: ranges 3 to 15.
blinkTimes - how many times to blink before disappearing.
disposeGraphics - whether to dispose the Graphics object after blinking
 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x0,
                                      int y0,
                                      String orient,
                                      int size,
                                      boolean disposeGraphics)
Draws a solid, blinking arrow oriented 45 degrees. Blinks 8 times.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: "NW", "NE", "SE", or "SW".
size - the arrow size: ranges 3 to 15.
disposeGraphics - whether to dispose the Graphics object after blinking
 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x,
                                      int y,
                                      String orient,
                                      boolean disposeGraphics)
Draws a solid, blinking arrow oriented 45 degrees. Blinks 8 times. Size is 7.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: "NW", "NE", "SE", or "SW".
disposeGraphics - whether to dispose the Graphics object after blinking
 o drawBlinkingArrow
 public static void drawBlinkingArrow(Graphics g,
                                      int x,
                                      int y,
                                      String orient)
Draws a solid, blinking arrow oriented 45 degrees. Blinks 8 times. Size is 7. Disposes graphics object.

Parameters:
g - the Graphics context.
x0 - the x-coordinate of the arrow tip.
y0 - the y-coordinate of the arrow tip.
orient - the orientation: "NW", "NE", "SE", or "SW".

All Packages  Class Hierarchy  This Package  Previous  Next  Index