Package net.mcreator.ui.laf.themes
Class ThemeManager
java.lang.Object
net.mcreator.ui.laf.themes.ThemeManager
This class detects and then tries to load all Themes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis method loads allThemes and sets the current theme to the one selected by the user.static LinkedHashSet<Theme> static voidThis method loads theThemeof all plugins loaded into the currentPluginLoaderinstance.
-
Field Details
-
CURRENT_THEME
-
-
Constructor Details
-
ThemeManager
public ThemeManager()
-
-
Method Details
-
applySelectedTheme
public static void applySelectedTheme()This method loads allThemes and sets the current theme to the one selected by the user. -
loadThemes
public static void loadThemes()This method loads the
Themeof all plugins loaded into the currentPluginLoaderinstance. -
getThemes
-