FontWeight

scalafx.scene.text.FontWeight
See theFontWeight companion class
object FontWeight extends SFXEnumDelegateCompanion[FontWeight, FontWeight]

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
FontWeight.type

Members list

Type members

Classlikes

case object Black extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
Black.type
case object Bold extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
Bold.type
case object ExtraBold extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
ExtraBold.type
case object ExtraLight extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
ExtraLight.type
case object Light extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
Light.type
case object Medium extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
Medium.type
case object Normal extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
Normal.type
case object SemiBold extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
SemiBold.type
case object Thin extends FontWeight

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class FontWeight
trait SFXEnumDelegate[FontWeight]
trait SFXDelegate[FontWeight]
class Object
trait Matchable
class Any
Show all
Self type
Thin.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Returns FontWeight by its name.

Returns FontWeight by its name.

Attributes

def findByWeight(weight: Int): FontWeight

Returns the closest javafx.scene.text.FontWeight for a weight value as defined by the CSS and OpenType specifications.

Returns the closest javafx.scene.text.FontWeight for a weight value as defined by the CSS and OpenType specifications.

Attributes

Inherited methods

def apply(e: FontWeight): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion
def apply(name: String): S

Returns the enum constant of this type with the specified name.

Returns the enum constant of this type with the specified name.

Value parameters

name

the name of the constant to return

Attributes

Throws
IllegalArgumentException

If the specified enum type has no constant with the specified name, or the specified class object does not represent an enum type.

Inherited from:
SFXEnumDelegateCompanion
def jfxEnum2sfx(e: FontWeight): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion

Deprecated fields

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true

Inherited fields

lazy val values: List[FontWeight]

Returns a List containing the constants of this enum type, in the order they are declared.

Returns a List containing the constants of this enum type, in the order they are declared.

Attributes

Inherited from:
SFXEnumDelegateCompanion

Implicits

Inherited implicits

implicit def sfxEnum2jfx(s: FontWeight): E

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Value parameters

s

SFXEnumDelegate instance

Attributes

Returns

Delegated enum

Inherited from:
SFXEnumDelegateCompanion