public class ThemeManager extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
darkTheme |
javafx.beans.property.SimpleStringProperty |
themeName |
| Modifier and Type | Method and Description |
|---|---|
void |
applyTheme(javafx.scene.Scene scene) |
void |
changeTheme(String themeName)
Method to change application wide theme from other locations in the view.
|
static ThemeManager |
getInstance() |
List<String> |
getThemeList() |
static boolean |
isDarkThemeSelected() |
void |
loadDefaultTheme() |
public static boolean darkTheme
public javafx.beans.property.SimpleStringProperty themeName
public static ThemeManager getInstance()
public void changeTheme(String themeName)
themeName - the name of the theme to be setpublic void applyTheme(javafx.scene.Scene scene)
public static boolean isDarkThemeSelected()
public void loadDefaultTheme()
Copyright © 2015–2018 openbase.org. All rights reserved.