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