All Packages Class Hierarchy This Package Previous Next Index
Class vnr.awt.DrawUtils
java.lang.Object
|
+----vnr.awt.DrawUtils
- public class DrawUtils
- extends Object
-- DrawUtils
-- a Collection of routines to do various drawing functions
-
centreInScreen(Component)
- -- centre a component in the middle of the screen
-
centreSmallInScreen(Component)
- -- centre a component in the middle of the screen
-
draw3DRectangle(Graphics, int, int, int, int, int, boolean)
- -- Draw a 3D Rectangle.
-
drawEtchedOval(Graphics, int, int, int, int, int, boolean)
- -- Draw an etched Oval.
-
drawEtchedRectangle(Graphics, int, int, int, int, int, boolean)
- -- Draw an 'etched' rectangle
-
makeFullScreen(Component)
- -- make a component take the whole screen
-
moveToCentre(Component)
- -- centre a component in the middle of the screen
-
reDraw(Component)
- redraw a component: invalidate it, validate it, repaint it.
draw3DRectangle
public static void draw3DRectangle(Graphics g,
int x,
int y,
int width,
int height,
int border,
boolean raised)
- -- Draw a 3D Rectangle.
drawEtchedRectangle
public static void drawEtchedRectangle(Graphics g,
int x,
int y,
int width,
int height,
int border,
boolean raised)
- -- Draw an 'etched' rectangle
centreInScreen
public static void centreInScreen(Component c)
- -- centre a component in the middle of the screen
makeFullScreen
public static void makeFullScreen(Component c)
- -- make a component take the whole screen
centreSmallInScreen
public static void centreSmallInScreen(Component c)
- -- centre a component in the middle of the screen
moveToCentre
public static void moveToCentre(Component c)
- -- centre a component in the middle of the screen
drawEtchedOval
public static void drawEtchedOval(Graphics g,
int x,
int y,
int w,
int h,
int border,
boolean raised)
- -- Draw an etched Oval.
reDraw
public static void reDraw(Component c)
- redraw a component: invalidate it, validate it, repaint it.
All Packages Class Hierarchy This Package Previous Next Index