Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
Modifier and Type | Field and Description |
---|---|
static Dialog.ModalityType |
Dialog.DEFAULT_MODALITY_TYPE
Default modality type for modal dialogs.
|
Modifier and Type | Method and Description |
---|---|
Dialog.ModalityType |
Dialog.getModalityType()
Returns the modality type of this dialog.
|
static Dialog.ModalityType |
Dialog.ModalityType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ModalityType[] |
Dialog.ModalityType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract 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.
|
Constructor and Description |
---|
Dialog(Window owner,
Dialog.ModalityType modalityType)
Constructs an initially invisible
Dialog with the
specified owner Window and modality and an empty title. |
Dialog(Window owner,
java.lang.String title,
Dialog.ModalityType modalityType)
Constructs an initially invisible
Dialog with the
specified owner Window , title and modality. |
Dialog(Window owner,
java.lang.String title,
Dialog.ModalityType modalityType,
GraphicsConfiguration gc)
Constructs an initially invisible
Dialog with the
specified owner Window , title, modality and
GraphicsConfiguration . |