Package org.jrd.frontend.MainFrame
Class ScreenFinder
- java.lang.Object
-
- org.jrd.frontend.MainFrame.ScreenFinder
-
public class ScreenFinder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScreenFinder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcenterWindowsToCurrentScreen(java.awt.Window w)static java.awt.PointgetCurrentPoint()static java.awt.GraphicsDevicegetCurrentScreen()static java.awt.RectanglegetCurrentScreenSizeWithoutBounds()private static java.awt.GraphicsDevicegetScreenOnCoords(java.awt.Point point)private static java.awt.RectanglegetScreenOnCoordsWithoutBounds(java.awt.Point p)
-
-
-
Method Detail
-
getCurrentPoint
public static java.awt.Point getCurrentPoint()
-
getCurrentScreen
public static java.awt.GraphicsDevice getCurrentScreen()
-
getCurrentScreenSizeWithoutBounds
public static java.awt.Rectangle getCurrentScreenSizeWithoutBounds()
-
centerWindowsToCurrentScreen
public static void centerWindowsToCurrentScreen(java.awt.Window w)
-
getScreenOnCoords
private static java.awt.GraphicsDevice getScreenOnCoords(java.awt.Point point)
-
getScreenOnCoordsWithoutBounds
private static java.awt.Rectangle getScreenOnCoordsWithoutBounds(java.awt.Point p)
-
-