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 intprivate static Boolean(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int(package private) static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanhasCustomDecoration(Window window) (package private) static booleanisLoaded()Checks whether native library is loaded/available.(package private) static booleanisWMUtilsSupported(Window window) private static boolean(package private) static booleanmoveOrResizeWindow(Window window, MouseEvent e, int direction) private static Point(package private) static booleanshowWindowMenu(Window window, MouseEvent e) private static booleanxMoveOrResizeWindow(Window window, int x, int y, int direction) private static booleanxShowWindowMenu(Window window, int x, int y)
-
Field Details
-
API_VERSION_LINUX
private static int API_VERSION_LINUX -
SIZE_TOPLEFT
static final int SIZE_TOPLEFT- See Also:
-
SIZE_TOP
static final int SIZE_TOP- See Also:
-
SIZE_TOPRIGHT
static final int SIZE_TOPRIGHT- See Also:
-
SIZE_RIGHT
static final int SIZE_RIGHT- See Also:
-
SIZE_BOTTOMRIGHT
static final int SIZE_BOTTOMRIGHT- See Also:
-
SIZE_BOTTOM
static final int SIZE_BOTTOM- See Also:
-
SIZE_BOTTOMLEFT
static final int SIZE_BOTTOMLEFT- See Also:
-
SIZE_LEFT
static final int SIZE_LEFT- See Also:
-
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
-