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.type
object OrientationType.type
object ConditionalFeature.type
object State.type
object StyleOrigin.type
object HPos.type
object HorizontalDirection.type
object NodeOrientation.type
object Orientation.type
object Pos.type
object Side.type
object VPos.type
object VerticalDirection.type
object Collation.type
object PageOrientation.type
object PrintColor.type
object PrintQuality.type
object PrintSides.type
object MarginType.type
object JobStatus.type
object SortingPolicy.type
object AlertType.type
object ButtonData.type
object ContentDisplay.type
object OverrunStyle.type
object ScrollBarPolicy.type
object SelectionMode.type
object TabClosingPolicy.type
object SortType.type
object TreeSortMode.type
object SortType.type
object BlendMode.type
object BlurType.type
object Type.type
object InputMethodHighlight.type
object KeyCode.type
object ModifierValue.type
object MouseButton.type
object State.type
object TransferMode.type
object BackgroundRepeat.type
object BorderRepeat.type
object Priority.type
object Type.type
object Status.type
object CycleMethod.type
object ArcType.type
object CullFace.type
object DrawMode.type
object FillRule.type
object StrokeLineCap.type
object StrokeLineJoin.type
object StrokeType.type
object FontPosture.type
object FontSmoothingType.type
object FontWeight.type
object TextAlignment.type
object TextBoundsType.type
object MatrixType.type
object AccessibleAction.type
object AccessibleRole.type
object CacheHint.type
object DepthTest.type
object Modality.type
object AnchorLocation.type
object StageStyle.type
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