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


Method Index

 o centreInScreen(Component)
-- centre a component in the middle of the screen
 o centreSmallInScreen(Component)
-- centre a component in the middle of the screen
 o draw3DRectangle(Graphics, int, int, int, int, int, boolean)
-- Draw a 3D Rectangle.
 o drawEtchedOval(Graphics, int, int, int, int, int, boolean)
-- Draw an etched Oval.
 o drawEtchedRectangle(Graphics, int, int, int, int, int, boolean)
-- Draw an 'etched' rectangle
 o makeFullScreen(Component)
-- make a component take the whole screen
 o moveToCentre(Component)
-- centre a component in the middle of the screen
 o reDraw(Component)
redraw a component: invalidate it, validate it, repaint it.

Methods

 o draw3DRectangle
 public static void draw3DRectangle(Graphics g,
                                    int x,
                                    int y,
                                    int width,
                                    int height,
                                    int border,
                                    boolean raised)
-- Draw a 3D Rectangle.

 o drawEtchedRectangle
 public static void drawEtchedRectangle(Graphics g,
                                        int x,
                                        int y,
                                        int width,
                                        int height,
                                        int border,
                                        boolean raised)
-- Draw an 'etched' rectangle

 o centreInScreen
 public static void centreInScreen(Component c)
-- centre a component in the middle of the screen

 o makeFullScreen
 public static void makeFullScreen(Component c)
-- make a component take the whole screen

 o centreSmallInScreen
 public static void centreSmallInScreen(Component c)
-- centre a component in the middle of the screen

 o moveToCentre
 public static void moveToCentre(Component c)
-- centre a component in the middle of the screen

 o drawEtchedOval
 public static void drawEtchedOval(Graphics g,
                                   int x,
                                   int y,
                                   int w,
                                   int h,
                                   int border,
                                   boolean raised)
-- Draw an etched Oval.

 o 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