ColorScheme

scalafx.application.ColorScheme
See theColorScheme companion object
class ColorScheme(val delegate: ColorScheme) extends SFXEnumDelegate[ColorScheme]

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.

Wraps javafx.application.ColorScheme

Attributes

Since

JavaFX 22

Companion
object
Graph
Supertypes
trait SFXEnumDelegate[ColorScheme]
trait SFXDelegate[ColorScheme]
class Object
trait Matchable
class Any

Members list

Value members

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Return the same string value as enum delegate.

Return the same string value as enum delegate.

This is important since we want to be able to look it up using enums valueOf method. Default toString provided by the SFXDelegate prepends "[SFX]"

Attributes

Definition Classes
Inherited from:
SFXEnumDelegate

Concrete fields

override val delegate: ColorScheme

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes