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 private
ScreenFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
centerWindowOnto(java.awt.Window baseWindow, java.awt.Window centeredWindow)
private static void
centerWindowToBounds(java.awt.Window w, java.awt.Rectangle bounds)
static void
centerWindowToCurrentScreen(java.awt.Window w)
static java.awt.Point
getCurrentPoint()
static java.awt.Rectangle
getCurrentScreenSizeWithoutBounds()
private static java.awt.GraphicsDevice
getScreenOnCoords(java.awt.Point point)
private static java.awt.Rectangle
getScreenOnCoordsWithoutBounds(java.awt.Point p)
static void
moveWindowNextTo(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)
-
-