# Uses of Enum Class
javafx.application.ColorScheme

Packages that use ColorScheme
Package
Description
javafx.application
Provides the application life-cycle classes.

- ## Uses of ColorScheme in javafx.application

  Methods in javafx.application that return ColorScheme
  Modifier and Type
  Method
  Description
  `ColorScheme`
  Platform.Preferences.`getColorScheme()`
  Gets the value of the `colorScheme` property.
  `static ColorScheme`
  ColorScheme.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static ColorScheme[]`
  ColorScheme.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  Methods in javafx.application that return types with arguments of type ColorScheme
  Modifier and Type
  Method
  Description
  `ReadOnlyObjectProperty<ColorScheme>`
  Platform.Preferences.`colorSchemeProperty()`
  The platform color scheme, which specifies whether applications should prefer light text on dark backgrounds, or dark text on light backgrounds.