- All Known Implementing Classes:
AbstractSystemPreferences,MacOsSystemPreferences,SimpleSystemPreferences
public interface SystemPreferences
Encapsulates system preferences.
-
Property Summary
PropertiesTypePropertyDescriptionjavafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> The accent color.javafx.beans.property.ReadOnlyObjectProperty<String> The appearance.javafx.beans.property.ReadOnlyDoublePropertyThe base font size.static javafx.beans.property.ObjectProperty<SystemPreferences> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.beans.property.ObjectProperty<SystemPreferences> -
Method Summary
Modifier and TypeMethodDescriptionjavafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> The accent color.javafx.beans.property.ReadOnlyObjectProperty<String> The appearance.javafx.beans.property.ReadOnlyDoublePropertyThe base font size.default @Nullable javafx.scene.paint.ColorGets the value of theaccentColorproperty.default @Nullable StringGets the value of theappearanceproperty.default doubleGets the value of thefontSizeproperty.static @Nullable SystemPreferencesGets the value of theinstanceproperty.static javafx.beans.property.ObjectProperty<SystemPreferences> static voidsetInstance(@Nullable SystemPreferences newInstance) Sets the value of theinstanceproperty.
-
Property Details
-
instance
- See Also:
-
accentColor
javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> accentColorPropertyThe accent color.- See Also:
-
appearance
javafx.beans.property.ReadOnlyObjectProperty<String> appearancePropertyThe appearance.- See Also:
-
fontSize
javafx.beans.property.ReadOnlyDoubleProperty fontSizePropertyThe base font size.- See Also:
-
-
Field Details
-
instance
-
-
Method Details
-
instanceProperty
- Returns:
- the
instanceproperty - See Also:
-
setInstance
Sets the value of theinstanceproperty.- Property description:
- Parameters:
newInstance- the value for theinstanceproperty- See Also:
-
getInstance
Gets the value of theinstanceproperty.- Property description:
- Returns:
- the value of the
instanceproperty - See Also:
-
accentColorProperty
javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> accentColorProperty()The accent color.- Returns:
- accent color property
- See Also:
-
getAccentColor
default @Nullable javafx.scene.paint.Color getAccentColor()Gets the value of theaccentColorproperty.- Property description:
- The accent color.
- Returns:
- the value of the
accentColorproperty - See Also:
-
appearanceProperty
javafx.beans.property.ReadOnlyObjectProperty<String> appearanceProperty()The appearance.- Returns:
- accent color property
- See Also:
-
getAppearance
Gets the value of theappearanceproperty.- Property description:
- The appearance.
- Returns:
- the value of the
appearanceproperty - See Also:
-
fontSizeProperty
javafx.beans.property.ReadOnlyDoubleProperty fontSizeProperty()The base font size.- Returns:
- font size property
- See Also:
-
getFontSize
default double getFontSize()Gets the value of thefontSizeproperty.- Property description:
- The base font size.
- Returns:
- the value of the
fontSizeproperty - See Also:
-