All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class tropo.awt.TRDraw

java.lang.Object
   |
   +----tropo.awt.TRDraw

public class TRDraw
extends Object
A group of common routines that draws borders and focus rectangles.


Method Index

 o drawFocusRect(Graphics, int, int, int, int)
Draws a focus rect, which is a dashed rectangle, in black.
 o drawLoweredPlane(Graphics, int, int, int, int, int, Color)
 o drawPlane(Graphics, int, int, int, int, int, Color, Color)
 o drawRaisedPlane(Graphics, int, int, int, int, int, Color)
 o drawSpecialLoweredPlane(Graphics, int, int, int, int)
Draw a 2 pixel thick lowered border, with 4 colors ( 2 shades of hightlight and shadow, each).
 o drawSpecialPlane(Graphics, int, int, int, int, Color, Color, Color, Color)
Draw a 2 pixel thick, 4 colored ( 2 shades for highlight, 2 shades for shadow) border.
 o drawSpecialRaisedPlane(Graphics, int, int, int, int)
Draw a 2 pixel thick raised border, with 4 colors ( 2 shades of hightlight and shadow, each).
 o drawThickBorder(Graphics, int, int, int, int, int, Color)
 o etchLoweredPlane(Graphics, int, int, int, int, Color)
Draws the etched in and out border.
 o etchPlane(Graphics, int, int, int, int, Color, Color)
Draws the etched in and out border.
 o etchRaisedPlane(Graphics, int, int, int, int, Color)
Draws the etched in and out border.

Methods

 o drawFocusRect
 public static final void drawFocusRect(Graphics g,
                                        int x,
                                        int y,
                                        int w,
                                        int h)
Draws a focus rect, which is a dashed rectangle, in black.

 o drawThickBorder
 public static final void drawThickBorder(Graphics g,
                                          int x,
                                          int y,
                                          int w,
                                          int h,
                                          int b,
                                          Color bg)
 o drawRaisedPlane
 public static final void drawRaisedPlane(Graphics g,
                                          int x,
                                          int y,
                                          int w,
                                          int h,
                                          int border,
                                          Color bg)
 o drawLoweredPlane
 public static final void drawLoweredPlane(Graphics g,
                                           int x,
                                           int y,
                                           int w,
                                           int h,
                                           int border,
                                           Color bg)
 o drawSpecialRaisedPlane
 public static final void drawSpecialRaisedPlane(Graphics g,
                                                 int x,
                                                 int y,
                                                 int w,
                                                 int h)
Draw a 2 pixel thick raised border, with 4 colors ( 2 shades of hightlight and shadow, each).

 o drawSpecialLoweredPlane
 public static final void drawSpecialLoweredPlane(Graphics g,
                                                  int x,
                                                  int y,
                                                  int w,
                                                  int h)
Draw a 2 pixel thick lowered border, with 4 colors ( 2 shades of hightlight and shadow, each).

 o drawSpecialPlane
 public static final void drawSpecialPlane(Graphics g,
                                           int x,
                                           int y,
                                           int w,
                                           int h,
                                           Color b1,
                                           Color b2,
                                           Color d1,
                                           Color d2)
Draw a 2 pixel thick, 4 colored ( 2 shades for highlight, 2 shades for shadow) border.

 o drawPlane
 public static final void drawPlane(Graphics g,
                                    int x,
                                    int y,
                                    int w,
                                    int h,
                                    int border,
                                    Color c1,
                                    Color c2)
 o etchRaisedPlane
 public static final void etchRaisedPlane(Graphics g,
                                          int x,
                                          int y,
                                          int w,
                                          int h,
                                          Color bg)
Draws the etched in and out border.

 o etchLoweredPlane
 public static final void etchLoweredPlane(Graphics g,
                                           int x,
                                           int y,
                                           int w,
                                           int h,
                                           Color bg)
Draws the etched in and out border.

 o etchPlane
 public static final void etchPlane(Graphics g,
                                    int x1,
                                    int y1,
                                    int w,
                                    int h,
                                    Color c1,
                                    Color c2)
Draws the etched in and out border.


All Packages  Class Hierarchy  This Package  Previous  Next  Index