- All Known Implementing Classes:
AbstractSystemPreferences,MacOsSystemPreferences,SimpleSystemPreferences
public interface SystemPreferences
Encapsulates system preferences.
-
Property Summary
PropertiesTypePropertyDescription@NonNull javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> The accent color.The appearance.@NonNull javafx.beans.property.ReadOnlyDoublePropertyThe base font size.static @NonNull javafx.beans.property.ObjectProperty<SystemPreferences> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull javafx.beans.property.ObjectProperty<SystemPreferences> -
Method Summary
Modifier and TypeMethodDescription@NonNull javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> The accent color.The appearance.@NonNull javafx.beans.property.ReadOnlyDoublePropertyThe base font size.default @Nullable javafx.scene.paint.ColorGets the value of theaccentColorproperty.Gets the value of theappearanceproperty.default doubleGets the value of thefontSizeproperty.static @Nullable SystemPreferencesGets the value of theinstanceproperty.static @NonNull javafx.beans.property.ObjectProperty<SystemPreferences> static voidsetInstance(@Nullable SystemPreferences newInstance) Sets the value of theinstanceproperty.
-
Property Details
-
instance
- See Also:
-
accentColor
@NonNull javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> accentColorPropertyThe accent color.- See Also:
-
appearance
The appearance.- See Also:
-
fontSize
@NonNull 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
@NonNull javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color> accentColorProperty()The accent color.- Returns:
- accent color property
- See Also:
-
getAccentColor
Gets the value of theaccentColorproperty.- Property description:
- The accent color.
- Returns:
- the value of the
accentColorproperty - See Also:
-
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
@NonNull 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:
-