Interface SystemPreferences

All Known Implementing Classes:
AbstractSystemPreferences, MacOsSystemPreferences, SimpleSystemPreferences

public interface SystemPreferences
Encapsulates system preferences.
  • Property Summary

    Properties
    Type
    Property
    Description
    javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color>
    The accent color.
    javafx.beans.property.ReadOnlyObjectProperty<String>
    The appearance.
    javafx.beans.property.ReadOnlyDoubleProperty
    The base font size.
    static javafx.beans.property.ObjectProperty<SystemPreferences>
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final javafx.beans.property.ObjectProperty<SystemPreferences>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    javafx.beans.property.ReadOnlyObjectProperty<javafx.scene.paint.Color>
    The accent color.
    javafx.beans.property.ReadOnlyObjectProperty<String>
    The appearance.
    javafx.beans.property.ReadOnlyDoubleProperty
    The base font size.
    default @Nullable javafx.scene.paint.Color
    Gets the value of the accentColor property.
    default @Nullable String
    Gets the value of the appearance property.
    default double
    Gets the value of the fontSize property.
    static @Nullable SystemPreferences
    Gets the value of the instance property.
    static javafx.beans.property.ObjectProperty<SystemPreferences>
     
    static void
    setInstance(@Nullable SystemPreferences newInstance)
    Sets the value of the instance property.
  • Property Details

  • Field Details

    • instance

      static final javafx.beans.property.ObjectProperty<SystemPreferences> instance
  • Method Details

    • instanceProperty

      static javafx.beans.property.ObjectProperty<SystemPreferences> instanceProperty()
      Returns:
      the instance property
      See Also:
    • setInstance

      static void setInstance(@Nullable SystemPreferences newInstance)
      Sets the value of the instance property.
      Property description:
      Parameters:
      newInstance - the value for the instance property
      See Also:
    • getInstance

      static @Nullable SystemPreferences getInstance()
      Gets the value of the instance property.
      Property description:
      Returns:
      the value of the instance property
      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 the accentColor property.
      Property description:
      The accent color.
      Returns:
      the value of the accentColor property
      See Also:
    • appearanceProperty

      javafx.beans.property.ReadOnlyObjectProperty<String> appearanceProperty()
      The appearance.
      Returns:
      accent color property
      See Also:
    • getAppearance

      default @Nullable String getAppearance()
      Gets the value of the appearance property.
      Property description:
      The appearance.
      Returns:
      the value of the appearance property
      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 the fontSize property.
      Property description:
      The base font size.
      Returns:
      the value of the fontSize property
      See Also: