- All Known Implementing Classes:
SimpleThemeManager
public interface ThemeManager
-
Property Summary
PropertiesTypePropertyDescriptionstatic @NonNull javafx.beans.property.ObjectProperty<ThemeManager> @NonNull javafx.beans.property.ObjectProperty<ThemeParameters> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull javafx.beans.property.ObjectProperty<ThemeManager> -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull ThemeManagerGets the value of theinstanceproperty.getTheme()Gets the value of thethemeproperty.default @NonNull ThemeParametersGets the value of thethemeParametersproperty.Gets the value of thethemesproperty.static @NonNull javafx.beans.property.ObjectProperty<ThemeManager> static voidsetInstance(@NonNull ThemeManager newInstance) Sets the value of theinstanceproperty.default voidSets the value of thethemeproperty.default voidsetThemeParameters(@Nullable ThemeParameters ThemeParameters) Sets the value of thethemeParametersproperty.@NonNull javafx.beans.property.ObjectProperty<ThemeParameters> voidUpdatesApplication.setUserAgentStylesheet(String)with the current theme.
-
Property Details
-
instance
- See Also:
-
themes
- See Also:
-
themeParameters
@NonNull javafx.beans.property.ObjectProperty<ThemeParameters> themeParametersProperty- See Also:
-
theme
- See Also:
-
-
Field Details
-
instance
-
-
Method Details
-
instanceProperty
- Returns:
- the
instanceproperty - See Also:
-
getInstance
Gets the value of theinstanceproperty.- Property description:
- Returns:
- the value of the
instanceproperty - See Also:
-
setInstance
Sets the value of theinstanceproperty.- Property description:
- Parameters:
newInstance- the value for theinstanceproperty- See Also:
-
themesProperty
- Returns:
- the
themesproperty - See Also:
-
themeParametersProperty
@NonNull javafx.beans.property.ObjectProperty<ThemeParameters> themeParametersProperty()- Returns:
- the
themeParametersproperty - See Also:
-
getThemeParameters
Gets the value of thethemeParametersproperty.- Property description:
- Returns:
- the value of the
themeParametersproperty - See Also:
-
setThemeParameters
Sets the value of thethemeParametersproperty.- Property description:
- Parameters:
ThemeParameters- the value for thethemeParametersproperty- See Also:
-
getThemes
Gets the value of thethemesproperty.- Property description:
- Returns:
- the value of the
themesproperty - See Also:
-
themeProperty
- Returns:
- the
themeproperty - See Also:
-
getTheme
Gets the value of thethemeproperty.- Property description:
- Returns:
- the value of the
themeproperty - See Also:
-
setTheme
Sets the value of thethemeproperty.- Property description:
- Parameters:
theme- the value for thethemeproperty- See Also:
-
updateUserAgentStylesheet
void updateUserAgentStylesheet()UpdatesApplication.setUserAgentStylesheet(String)with the current theme.
-