SFXEnumDelegateCompanion

scalafx.delegate.SFXEnumDelegateCompanion
trait SFXEnumDelegateCompanion[E <: Enum[E], S <: SFXEnumDelegate[E]]

Base trait for all Companion objects SFXEnumDelegate subclasses. It mirrors static methods for `Enum`.

Type parameters

E

Original JavaFX enum

S

SFXEnumDelegate that wrappers E

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Status
object ColorScheme
object State
object StyleOrigin
object HPos
object Orientation
object Pos
object Side
object VPos
object Collation
object PrintColor
object PrintQuality
object PrintSides
object MarginType
object JobStatus
object SortingPolicy
object AlertType
object ButtonData
object OverrunStyle
object SelectionMode
object SortType
object TreeSortMode
object SortType
object BlendMode
object BlurType
object Type
object KeyCode
object ModifierValue
object MouseButton
object State
object TransferMode
object BorderRepeat
object Priority
object Type
object Status
object CycleMethod
object ArcType
object CullFace
object DrawMode
object FillRule
object StrokeLineCap
object StrokeType
object FontPosture
object FontWeight
object TextAlignment
object MatrixType
object CacheHint
object DepthTest
object Modality
object StageStyle
Show all

Members list

Value members

Abstract methods

protected def unsortedValues: Array[S]

Contain constants which will be source for values List

Contain constants which will be source for values List

Attributes

Concrete methods

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.

def apply(e: E): 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.

def jfxEnum2sfx(e: E): 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.

Concrete fields

lazy val values: List[S]

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

Implicits

Implicits

implicit def sfxEnum2jfx(s: S): 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