Class FlatNativeLinuxLibrary


  • class FlatNativeLinuxLibrary
    extends java.lang.Object
    Native methods for Linux.

    Note: This is private API. Do not use!

    Since:
    2.5
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static int API_VERSION_LINUX  
      private static java.lang.Boolean isXWindowSystem  
      (package private) static int MOVE  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static boolean hasCustomDecoration​(java.awt.Window window)  
      (package private) static boolean isLoaded()
      Checks whether native library is loaded/available.
      (package private) static boolean isWMUtilsSupported​(java.awt.Window window)  
      private static boolean isXWindowSystem()  
      (package private) static boolean moveOrResizeWindow​(java.awt.Window window, java.awt.event.MouseEvent e, int direction)  
      private static java.awt.Point scale​(java.awt.Window window, java.awt.Point pt)  
      (package private) static boolean showWindowMenu​(java.awt.Window window, java.awt.event.MouseEvent e)  
      private static boolean xMoveOrResizeWindow​(java.awt.Window window, int x, int y, int direction)  
      private static boolean xShowWindowMenu​(java.awt.Window window, int x, int y)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • API_VERSION_LINUX

        private static int API_VERSION_LINUX
      • isXWindowSystem

        private static java.lang.Boolean isXWindowSystem
    • Constructor Detail

      • FlatNativeLinuxLibrary

        FlatNativeLinuxLibrary()
    • Method Detail

      • isLoaded

        static boolean isLoaded()
        Checks whether native library is loaded/available.

        Note: It is required to invoke this method before invoking any other method of this class. Otherwise, the native library may not be loaded.

      • isXWindowSystem

        private static boolean isXWindowSystem()
      • isWMUtilsSupported

        static boolean isWMUtilsSupported​(java.awt.Window window)
      • moveOrResizeWindow

        static boolean moveOrResizeWindow​(java.awt.Window window,
                                          java.awt.event.MouseEvent e,
                                          int direction)
      • showWindowMenu

        static boolean showWindowMenu​(java.awt.Window window,
                                      java.awt.event.MouseEvent e)
      • scale

        private static java.awt.Point scale​(java.awt.Window window,
                                            java.awt.Point pt)
      • xMoveOrResizeWindow

        private static boolean xMoveOrResizeWindow​(java.awt.Window window,
                                                   int x,
                                                   int y,
                                                   int direction)
      • xShowWindowMenu

        private static boolean xShowWindowMenu​(java.awt.Window window,
                                               int x,
                                               int y)
      • hasCustomDecoration

        private static boolean hasCustomDecoration​(java.awt.Window window)