Class FlatNativeLinuxLibrary

java.lang.Object
com.formdev.flatlaf.ui.FlatNativeLinuxLibrary

class FlatNativeLinuxLibrary extends Object
Native methods for Linux.

Note: This is private API. Do not use!

Since:
2.5
  • Field Details

    • API_VERSION_LINUX

      private static int API_VERSION_LINUX
    • MOVE

      static final int MOVE
      See Also:
    • isXWindowSystem

      private static Boolean isXWindowSystem
  • Constructor Details

    • FlatNativeLinuxLibrary

      FlatNativeLinuxLibrary()
  • Method Details

    • 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(Window window)
    • moveOrResizeWindow

      static boolean moveOrResizeWindow(Window window, MouseEvent e, int direction)
    • showWindowMenu

      static boolean showWindowMenu(Window window, MouseEvent e)
    • scale

      private static Point scale(Window window, Point pt)
    • xMoveOrResizeWindow

      private static boolean xMoveOrResizeWindow(Window window, int x, int y, int direction)
    • xShowWindowMenu

      private static boolean xShowWindowMenu(Window window, int x, int y)
    • hasCustomDecoration

      private static boolean hasCustomDecoration(Window window)