Top Description Fields Constructors Methods
javafx.stage

public final Enum Modality

extends Enum<Modality>
Class Inheritance

This enum defines the possible modality types for a Stage.
Since
JavaFX 2.0

Field Summary

Modifier and TypeField and Description
public static final Modality
APPLICATION_MODAL

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

public static final Modality
NONE

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

public static final Modality
WINDOW_MODAL

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

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static Modality
public static Modality[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

APPLICATION_MODALback to summary
public static final Modality APPLICATION_MODAL

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

NONEback to summary
public static final Modality NONE

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

WINDOW_MODALback to summary
public static final Modality WINDOW_MODAL

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

Note

A Stage with modality set to WINDOW_MODAL, but its owner is null, is treated as if its modality is set to NONE.

Constructor Detail

Modalityback to summary
private Modality()

Method Detail

valueOfback to summary
public static Modality valueOf(String name)
valuesback to summary
public static Modality[] values()