Modality

scalafx.stage.Modality
See theModality companion class
object Modality extends SFXEnumDelegateCompanion[Modality, Modality]

Wrapper for javafx.stage.Modality

Attributes

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

Members list

Type members

Classlikes

case object ApplicationModal extends Modality

Defines a modal window that blocks events from being delivered to any other application window.

Defines a modal window that blocks events from being delivered to any other application window.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Modality
trait SFXEnumDelegate[Modality]
trait SFXDelegate[Modality]
class Object
trait Matchable
class Any
Show all
Self type
case object None extends Modality

Defines a top-level window that is not modal and does not block any other window.

Defines a top-level window that is not modal and does not block any other window.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Modality
trait SFXEnumDelegate[Modality]
trait SFXDelegate[Modality]
class Object
trait Matchable
class Any
Show all
Self type
None.type
case object WindowModal extends Modality

Defines a modal window that block events from being delivered to its entire owner window hierarchy.

Defines a modal window that block events from being delivered to its entire owner window hierarchy.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Modality
trait SFXEnumDelegate[Modality]
trait SFXDelegate[Modality]
class Object
trait Matchable
class Any
Show all
Self 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

Inherited methods

def apply(e: Modality): 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: Modality): 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
val NONE: Modality

Attributes

Deprecated
true

Attributes

Deprecated
true

Inherited fields

lazy val values: List[Modality]

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: Modality): 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