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
Loads settings fromPreferences
.static boolean
Returns true if the given UI object is using the Aqua Look and Feel.static boolean
Returns true if 'Nimbus' is the current Look and Feelstatic void
-
Method Details
-
installGlobalOverrides
public static void installGlobalOverrides()Loads settings fromPreferences
. -
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
-