Package org.jrd.frontend.utility
Class ScreenFinder
- java.lang.Object
-
- org.jrd.frontend.utility.ScreenFinder
-
public final class ScreenFinder extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description privateScreenFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcenterWindowOnto(java.awt.Window baseWindow, java.awt.Window centeredWindow)private static voidcenterWindowToBounds(java.awt.Window w, java.awt.Rectangle bounds)static voidcenterWindowToCurrentScreen(java.awt.Window w)static java.awt.PointgetCurrentPoint()static java.awt.RectanglegetCurrentScreenSizeWithoutBounds()private static java.awt.GraphicsDevicegetScreenOnCoords(java.awt.Point point)private static java.awt.RectanglegetScreenOnCoordsWithoutBounds(java.awt.Point p)static voidmoveWindowNextTo(java.awt.Window baseWindow, java.awt.Window movedWindow)
-
-
-
Method Detail
-
getCurrentPoint
public static java.awt.Point getCurrentPoint()
-
getCurrentScreenSizeWithoutBounds
public static java.awt.Rectangle getCurrentScreenSizeWithoutBounds()
-
centerWindowOnto
public static void centerWindowOnto(java.awt.Window baseWindow, java.awt.Window centeredWindow)
-
centerWindowToCurrentScreen
public static void centerWindowToCurrentScreen(java.awt.Window w)
-
centerWindowToBounds
private static void centerWindowToBounds(java.awt.Window w, java.awt.Rectangle bounds)
-
moveWindowNextTo
public static void moveWindowNextTo(java.awt.Window baseWindow, java.awt.Window movedWindow)
-
getScreenOnCoords
private static java.awt.GraphicsDevice getScreenOnCoords(java.awt.Point point)
-
getScreenOnCoordsWithoutBounds
private static java.awt.Rectangle getScreenOnCoordsWithoutBounds(java.awt.Point p)
-
-