Package edu.harvard.hul.ois.jhove.viewer
Class MainScreen
- java.lang.Object
-
- edu.harvard.hul.ois.jhove.viewer.MainScreen
-
public class MainScreen extends Object
Static methods for positioning windows on the main screen.- Author:
- Gary McGath
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcenterTopWindow(Window win)Center the window at the top of the main screen.static voidcenterWindow(Window win)Center the window on the main screen.static RectanglemainBounds()Returns the bounds of the main monitor device.
-
-
-
Method Detail
-
centerWindow
public static void centerWindow(Window win)
Center the window on the main screen.
-
centerTopWindow
public static void centerTopWindow(Window win)
Center the window at the top of the main screen.
-
mainBounds
public static Rectangle mainBounds()
Returns the bounds of the main monitor device.
-
-