AlertType

object AlertType extends SFXEnumDelegateCompanion[AlertType, AlertType]

An enumeration containing the available, pre-built alert types that the Alert class can use to pre-populate various properties.

An enumeration containing the available, pre-built alert types that the Alert class can use to pre-populate various properties.

Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

case object Confirmation extends AlertType

The Confirmation alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is seeking confirmation from the user. This includes a 'confirmation' image, an appropriate title and header, and both OK and Cancel buttons for the user to click on to dismiss the dialog.

The Confirmation alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is seeking confirmation from the user. This includes a 'confirmation' image, an appropriate title and header, and both OK and Cancel buttons for the user to click on to dismiss the dialog.

case object Error extends AlertType

The Error alert type configures the Alert dialog to appear in a way that suggests that something has gone wrong. This includes an 'error' image, an appropriate title and header, and just an OK button for the user to click on to dismiss the dialog.

The Error alert type configures the Alert dialog to appear in a way that suggests that something has gone wrong. This includes an 'error' image, an appropriate title and header, and just an OK button for the user to click on to dismiss the dialog.

case object Information extends AlertType

The INFORMATION alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is informing the user of a piece of information. This includes an 'information' image, an appropriate title and header, and just an OK button for the user to click on to dismiss the dialog.

The INFORMATION alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is informing the user of a piece of information. This includes an 'information' image, an appropriate title and header, and just an OK button for the user to click on to dismiss the dialog.

case object None extends AlertType

The None alert type has the effect of not setting any default properties in the Alert.

The None alert type has the effect of not setting any default properties in the Alert.

case object Warning extends AlertType

The Warning alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is warning the user about some fact or action. This includes a 'warning' image, an appropriate title and header, and just an OK button for the user to click on to dismiss the dialog.

The Warning alert type configures the Alert dialog to appear in a way that suggests the content of the dialog is warning the user about some fact or action. This includes a 'warning' image, an appropriate title and header, and just an OK button for the user to click on to dismiss the dialog.

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Inherited methods

def apply(e: AlertType): AlertType

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value Params
e

JavaFX enum

Returns

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

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

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

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

Value Params
name

the name of the constant to return

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

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value Params
e

JavaFX enum

Returns

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

Inherited from
SFXEnumDelegateCompanion

Inherited fields

lazy val values: List[AlertType]

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.

Inherited from
SFXEnumDelegateCompanion

Implicits

Inherited implicits

implicit def sfxEnum2jfx(s: AlertType): AlertType

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Value Params
s

SFXEnumDelegate instance

Returns

Delegated enum

Inherited from
SFXEnumDelegateCompanion