TabClosingPolicy

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

Type members

Classlikes

case object AllTabs extends TabClosingPolicy

All tabs will have the option to be closed.

All tabs will have the option to be closed.

case object SelectedTab extends TabClosingPolicy

Only the currently selected tab will have the option to be closed, with a graphic next to the tab text being shown.

Only the currently selected tab will have the option to be closed, with a graphic next to the tab text being shown.

case object Unavailable extends TabClosingPolicy

Tabs can not be closed by the user.

Tabs can not be closed by the user.

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

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

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

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

Deprecated fields

@deprecated("Use AllTabs; ALL_TABS will be removed in a future release", "8.0.60-R10")
Deprecated
@deprecated("Use SelectedTab; SELECTED_TAB will be removed in a future release", "8.0.60-R10")
Deprecated
@deprecated("Use Unavailable; UNAVAILABLE will be removed in a future release", "8.0.60-R10")
Deprecated

Inherited fields

lazy val values: List[TabClosingPolicy]

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

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