Top Description Fields Constructors Methods
javafx.application

public final Enum ColorScheme

extends Enum<ColorScheme>
Class Inheritance

Defines the color scheme of the user interface, which specifies whether applications should prefer light text on dark backgrounds, or dark text on light backgrounds.
Since
22
See Also
javafx.application.Platform.Preferences#colorSchemeProperty()

Field Summary

Modifier and TypeField and Description
public static final ColorScheme
DARK

A dark color scheme uses dark backgrounds and bright text.

public static final ColorScheme
LIGHT

A light color scheme uses bright backgrounds and dark text.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ColorScheme
public static ColorScheme[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DARKback to summary
public static final ColorScheme DARK

A dark color scheme uses dark backgrounds and bright text.

LIGHTback to summary
public static final ColorScheme LIGHT

A light color scheme uses bright backgrounds and dark text.

Constructor Detail

ColorSchemeback to summary
private ColorScheme()

Method Detail

valueOfback to summary
public static ColorScheme valueOf(String name)
valuesback to summary
public static ColorScheme[] values()