com.croftsoft.core.gui
Class WindowLib

java.lang.Object
  extended by com.croftsoft.core.gui.WindowLib

public final class WindowLib
extends Object

Supplementary static methods for the java.awt.Window class.

Since:
1998-10-28
Version:
$Date: 2005/03/21 23:08:31 $
Author:
David Wallace Croft

Method Summary
static void centerAboveParent(Window child)
           
static void centerAboveParent(Window child, Dimension size)
           
static void centerOnScreen(Window window)
           
static void centerOnScreen(Window window, Dimension size)
           
static void centerOnScreen(Window window, double screenRatio)
           
static void centerOnScreen(Window window, int width, int height)
           
static Window getParentWindow(Component component)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

centerOnScreen

public static void centerOnScreen(Window window)

centerOnScreen

public static void centerOnScreen(Window window,
                                  int width,
                                  int height)

centerOnScreen

public static void centerOnScreen(Window window,
                                  Dimension size)

centerOnScreen

public static void centerOnScreen(Window window,
                                  double screenRatio)

centerAboveParent

public static void centerAboveParent(Window child,
                                     Dimension size)

centerAboveParent

public static void centerAboveParent(Window child)

getParentWindow

public static Window getParentWindow(Component component)

CroftSoft Javadoc

CroftSoft Core Javadoc (2008-09-28 20:58:02)