Package util.swing
Class WindowUtilities
- java.lang.Object
-
- util.swing.WindowUtilities
-
public class WindowUtilities extends Object
-
-
Constructor Summary
Constructors Constructor Description WindowUtilities()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcentreWindowOnScreen(int screen, Window window)static voidcentreWindowOnScreen(int screen, Window window, double ratio)static voidcentreWindowOnScreen(Window window)static voidcentreWindowOnScreen(Window window, double ratio)static voidpositionWindowOnScreen(int screen, Window window, int x, int y)static voidpositionWindowOnScreen(Window window, int x, int y)static voidsetCursor(Component component, int type)static voidsetCursor(Component component, Cursor cursor)static voidsetCursor(Object object, int type)static voidsetCursor(Object object, Cursor cursor)static voidsizeWindowOnScreen(int screen, Window window, double ratio)static voidsizeWindowOnScreen(int screen, Window window, double horizontalRatio, double verticalRatio)static voidsizeWindowOnScreen(Window window, double ratio)static voidsizeWindowOnScreen(Window window, double horizontalRatio, double verticalRatio)
-
-
-
Method Detail
-
setCursor
public static void setCursor(Object object, int type)
-
setCursor
public static void setCursor(Component component, int type)
-
sizeWindowOnScreen
public static void sizeWindowOnScreen(Window window, double ratio)
-
sizeWindowOnScreen
public static void sizeWindowOnScreen(int screen, Window window, double ratio)
-
sizeWindowOnScreen
public static void sizeWindowOnScreen(Window window, double horizontalRatio, double verticalRatio)
-
sizeWindowOnScreen
public static void sizeWindowOnScreen(int screen, Window window, double horizontalRatio, double verticalRatio)
-
centreWindowOnScreen
public static void centreWindowOnScreen(Window window)
-
centreWindowOnScreen
public static void centreWindowOnScreen(int screen, Window window)
-
positionWindowOnScreen
public static void positionWindowOnScreen(Window window, int x, int y)
-
positionWindowOnScreen
public static void positionWindowOnScreen(int screen, Window window, int x, int y)
-
centreWindowOnScreen
public static void centreWindowOnScreen(int screen, Window window, double ratio)
-
centreWindowOnScreen
public static void centreWindowOnScreen(Window window, double ratio)
-
-