Package ghidra.docking.util
Class LookAndFeelUtils
java.lang.Object
ghidra.docking.util.LookAndFeelUtils
A utility class to manage LookAndFeel (LaF) settings.
-
Method Summary
Modifier and TypeMethodDescriptionstatic LafType
Returns theLafType
for the currently activeLookAndFeel
static void
Deprecated, for removal: This API element is subject to removal in a future version.static boolean
Returns true if the given UI object is using the Aqua Look and Feel.static boolean
Returns true if the current UI is the FlatLaf Dark or FlatLaf Light Look and Feel.static boolean
Returns true if 'Nimbus' is the current Look and Feelstatic void
-
Method Details
-
installGlobalOverrides
Deprecated, for removal: This API element is subject to removal in a future version.This method does nothing. This is not handled by the theming system in the look and feel manager. -
performPlatformSpecificFixups
public static void performPlatformSpecificFixups() -
getLookAndFeelType
Returns theLafType
for the currently activeLookAndFeel
- Returns:
- the
LafType
for the currently activeLookAndFeel
-
isUsingAquaUI
Returns true if the given UI object is using the Aqua Look and Feel.- Parameters:
UI
- the UI to examine.- Returns:
- true if the UI is using Aqua
-
isUsingNimbusUI
public static boolean isUsingNimbusUI()Returns true if 'Nimbus' is the current Look and Feel- Returns:
- true if 'Nimbus' is the current Look and Feel
-
isUsingFlatUI
public static boolean isUsingFlatUI()Returns true if the current UI is the FlatLaf Dark or FlatLaf Light Look and Feel.- Returns:
- true if the current UI is the FlatLaf Dark or FlatLaf Light Look and Feel
-