public interface ThemeManager
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ThemeManager.Registration
Registration
|
| Modifier and Type | Method and Description |
|---|---|
javafx.collections.ObservableMap<java.lang.String,Theme> |
getAvailableThemes() |
Theme |
getCurrentTheme() |
ThemeManager.Registration |
registerScene(javafx.scene.Scene scene)
Register a scene
|
void |
setCurrentThemeId(java.lang.String id)
Set the current theme id
|
Theme getCurrentTheme()
javafx.collections.ObservableMap<java.lang.String,Theme> getAvailableThemes()
void setCurrentThemeId(java.lang.String id)
throws java.lang.IllegalArgumentException
id - the id of the themejava.lang.IllegalArgumentException - if the theme is not knownThemeManager.Registration registerScene(javafx.scene.Scene scene)
scene - the scene