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 LafTypeReturns theLafTypefor the currently activeLookAndFeelstatic voidLoads settings fromPreferences.static booleanReturns true if the given UI object is using the Aqua Look and Feel.static booleanReturns 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 theLafTypefor the currently activeLookAndFeel- Returns:
- the
LafTypefor 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
-