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.
-
drawFocusRect(Graphics, int, int, int, int)
- Draws a focus rect, which is a dashed rectangle, in black.
-
drawLoweredPlane(Graphics, int, int, int, int, int, Color)
-
-
drawPlane(Graphics, int, int, int, int, int, Color, Color)
-
-
drawRaisedPlane(Graphics, int, int, int, int, int, Color)
-
-
drawSpecialLoweredPlane(Graphics, int, int, int, int)
- Draw a 2 pixel thick lowered border, with 4 colors ( 2 shades of
hightlight and shadow, each).
-
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.
-
drawSpecialRaisedPlane(Graphics, int, int, int, int)
- Draw a 2 pixel thick raised border, with 4 colors ( 2 shades of
hightlight and shadow, each).
-
drawThickBorder(Graphics, int, int, int, int, int, Color)
-
-
etchLoweredPlane(Graphics, int, int, int, int, Color)
- Draws the etched in and out border.
-
etchPlane(Graphics, int, int, int, int, Color, Color)
- Draws the etched in and out border.
-
etchRaisedPlane(Graphics, int, int, int, int, Color)
- Draws the etched in and out border.
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.
drawThickBorder
public static final void drawThickBorder(Graphics g,
int x,
int y,
int w,
int h,
int b,
Color bg)
drawRaisedPlane
public static final void drawRaisedPlane(Graphics g,
int x,
int y,
int w,
int h,
int border,
Color bg)
drawLoweredPlane
public static final void drawLoweredPlane(Graphics g,
int x,
int y,
int w,
int h,
int border,
Color bg)
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).
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).
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.
drawPlane
public static final void drawPlane(Graphics g,
int x,
int y,
int w,
int h,
int border,
Color c1,
Color c2)
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.
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.
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