Package com.formdev.flatlaf.ui
Class FlatNativeLinuxLibrary
java.lang.Object
com.formdev.flatlaf.ui.FlatNativeLinuxLibrary
Native methods for Linux.
Note: This is private API. Do not use!
- Since:
- 2.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static int
private static Boolean
(package private) static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
hasCustomDecoration
(Window window) (package private) static boolean
isLoaded()
Checks whether native library is loaded/available.(package private) static boolean
isWMUtilsSupported
(Window window) private static boolean
(package private) static boolean
moveOrResizeWindow
(Window window, MouseEvent e, int direction) private static Point
(package private) static boolean
showWindowMenu
(Window window, MouseEvent e) private static boolean
xMoveOrResizeWindow
(Window window, int x, int y, int direction) private static boolean
xShowWindowMenu
(Window window, int x, int y)
-
Field Details
-
API_VERSION_LINUX
private static int API_VERSION_LINUX -
MOVE
static final int MOVE- See Also:
-
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
-
moveOrResizeWindow
-
showWindowMenu
-
scale
-
xMoveOrResizeWindow
-
xShowWindowMenu
-
hasCustomDecoration
-