Uses of Enum Class
java.awt.Dialog.ModalityType
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
-
Uses of Dialog.ModalityType in java.awt
Modifier and TypeClassDescriptionstatic enum
Modal dialogs block all input to some top-level windows.Modifier and TypeFieldDescriptionstatic final Dialog.ModalityType
Dialog.DEFAULT_MODALITY_TYPE
Default modality type for modal dialogs.Modifier and TypeMethodDescriptionDialog.getModalityType()
Returns the modality type of this dialog.static Dialog.ModalityType
Returns the enum constant of this class with the specified name.static Dialog.ModalityType[]
Dialog.ModalityType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionabstract boolean
Toolkit.isModalityTypeSupported
(Dialog.ModalityType modalityType) Returns whether the given modality type is supported by this toolkit.void
Dialog.setModalityType
(Dialog.ModalityType type) Sets the modality type for this dialog.ModifierConstructorDescriptionDialog
(Window owner, Dialog.ModalityType modalityType) Constructs an initially invisibleDialog
with the specified ownerWindow
and modality and an empty title.Dialog
(Window owner, String title, Dialog.ModalityType modalityType) Constructs an initially invisibleDialog
with the specified ownerWindow
, title and modality.Dialog
(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc) Constructs an initially invisibleDialog
with the specified ownerWindow
, title, modality andGraphicsConfiguration
. -
Uses of Dialog.ModalityType in javax.swing
ModifierConstructorDescriptionJDialog
(Window owner, Dialog.ModalityType modalityType) Creates a dialog with an empty title and the specified modality andWindow
as its owner.JDialog
(Window owner, String title, Dialog.ModalityType modalityType) Creates a dialog with the specified title, ownerWindow
and modality.JDialog
(Window owner, String title, Dialog.ModalityType modalityType, GraphicsConfiguration gc) Creates a dialog with the specified title, ownerWindow
, modality andGraphicsConfiguration
.