| |
All Packages Class Hierarchy This Package Previous Next Index
Class bvyy.awt.WindowTools
java.lang.Object
|
+----bvyy.awt.WindowTools
- public class WindowTools
- extends Object
This class provides a set of useful tools to manipulate windows.
- Version:
- 0.0.1 18 June 1998
- Author:
- (c)1998 Brian Voon Yee Yap
-
WindowTools()
- a do nothing constructor.
-
getWindowCenter(Window)
-
-
getWindowCenter(Window, int, int, int, int)
-
-
setWindowCentered(Window)
- This method centers the window in the middle of the screen.
-
setWindowCentered(Window, int, int, int, int)
- This will center the window given the selected gutters.
-
setWindowCentered(Window, int, int, int, int, int, int)
- This will center the window given the selected gutters.
WindowTools
public WindowTools()
- a do nothing constructor.
setWindowCentered
public static void setWindowCentered(Window theWindow,
int topGutter,
int bottomGutter,
int leftGutter,
int rightGutter,
int minHeight,
int minWidth)
- This will center the window given the selected gutters.
- Parameters:
- theWindow - The window to be centered.
- topGutter - The gutter at the top of the screen.
- bottomGutter - The gutter at the bottom of the screen.
- leftGutter - The gutter at the left of the screen.
- rightGutter - The gutter at the right of the screen.
- minHeight - The minimum height of the window.
- minWidth - The minimum width of the window.
setWindowCentered
public static void setWindowCentered(Window theWindow,
int topGutter,
int bottomGutter,
int leftGutter,
int rightGutter)
- This will center the window given the selected gutters.
- Parameters:
- theWindow - The window to be centered.
- topGutter - The gutter at the top of the screen.
- bottomGutter - The gutter at the bottom of the screen.
- leftGutter - The gutter at the left of the screen.
- rightGutter - The gutter at the right of the screen.
setWindowCentered
public static void setWindowCentered(Window theWindow)
- This method centers the window in the middle of the screen.
getWindowCenter
public static Dimension getWindowCenter(Window theWindow,
int topGutter,
int bottomGutter,
int leftGutter,
int rightGutter)
getWindowCenter
public static Dimension getWindowCenter(Window theWindow)
All Packages Class Hierarchy This Package Previous Next Index
| |
22/11/99
|