Package util.swing

Class WindowUtilities


  • public class WindowUtilities
    extends Object
    • Constructor Detail

      • WindowUtilities

        public WindowUtilities()
    • Method Detail

      • setCursor

        public static void setCursor​(Object object,
                                     Cursor cursor)
      • setCursor

        public static void setCursor​(Component component,
                                     Cursor cursor)
      • 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)