Preferences

scalafx.application.Platform.Preferences
See thePreferences companion object
abstract class Preferences(val delegate: Preferences) extends SFXDelegate[Preferences]

Contains UI preferences of the current platform, wrapper for javafx.application.Platform.Preferences

Attributes

Since

JavaFX 22

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

Members list

Value members

Concrete methods

The accent color, which can be used to highlight the active or important part of a control and make it stand out from the rest of the user interface.

The accent color, which can be used to highlight the active or important part of a control and make it stand out from the rest of the user interface.

Attributes

The color used for background regions.

The color used for background regions.

Attributes

The platform color scheme, which specifies whether applications should prefer light text on dark backgrounds, or dark text on light backgrounds.

The platform color scheme, which specifies whether applications should prefer light text on dark backgrounds, or dark text on light backgrounds.

Attributes

The color used for foreground elements like text.

The color used for foreground elements like text.

Attributes

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

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Concrete fields

override val delegate: Preferences

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes