Package com.formdev.flatlaf.ui
Class FlatNativeLinuxLibrary
- java.lang.Object
-
- com.formdev.flatlaf.ui.FlatNativeLinuxLibrary
-
class FlatNativeLinuxLibrary extends java.lang.ObjectNative methods for Linux.Note: This is private API. Do not use!
- Since:
- 2.5
-
-
Field Summary
Fields Modifier and Type Field Description private static intAPI_VERSION_LINUXprivate static java.lang.BooleanisXWindowSystem(package private) static intMOVE(package private) static intSIZE_BOTTOM(package private) static intSIZE_BOTTOMLEFT(package private) static intSIZE_BOTTOMRIGHT(package private) static intSIZE_LEFT(package private) static intSIZE_RIGHT(package private) static intSIZE_TOP(package private) static intSIZE_TOPLEFT(package private) static intSIZE_TOPRIGHT
-
Constructor Summary
Constructors Constructor Description FlatNativeLinuxLibrary()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static booleanhasCustomDecoration(java.awt.Window window)(package private) static booleanisLoaded()Checks whether native library is loaded/available.(package private) static booleanisWMUtilsSupported(java.awt.Window window)private static booleanisXWindowSystem()(package private) static booleanmoveOrResizeWindow(java.awt.Window window, java.awt.event.MouseEvent e, int direction)private static java.awt.Pointscale(java.awt.Window window, java.awt.Point pt)(package private) static booleanshowWindowMenu(java.awt.Window window, java.awt.event.MouseEvent e)private static booleanxMoveOrResizeWindow(java.awt.Window window, int x, int y, int direction)private static booleanxShowWindowMenu(java.awt.Window window, int x, int y)
-
-
-
Field Detail
-
API_VERSION_LINUX
private static int API_VERSION_LINUX
-
SIZE_TOPLEFT
static final int SIZE_TOPLEFT
- See Also:
- Constant Field Values
-
SIZE_TOP
static final int SIZE_TOP
- See Also:
- Constant Field Values
-
SIZE_TOPRIGHT
static final int SIZE_TOPRIGHT
- See Also:
- Constant Field Values
-
SIZE_RIGHT
static final int SIZE_RIGHT
- See Also:
- Constant Field Values
-
SIZE_BOTTOMRIGHT
static final int SIZE_BOTTOMRIGHT
- See Also:
- Constant Field Values
-
SIZE_BOTTOM
static final int SIZE_BOTTOM
- See Also:
- Constant Field Values
-
SIZE_BOTTOMLEFT
static final int SIZE_BOTTOMLEFT
- See Also:
- Constant Field Values
-
SIZE_LEFT
static final int SIZE_LEFT
- See Also:
- Constant Field Values
-
MOVE
static final int MOVE
- See Also:
- Constant Field Values
-
isXWindowSystem
private static java.lang.Boolean isXWindowSystem
-
-
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)
-
-