public static enum Dialog.ModalityType extends Enum<Dialog.ModalityType>
Enum Constant and Description |
---|
APPLICATION_MODAL |
DOCUMENT_MODAL |
MODELESS |
TOOLKIT_MODAL |
Modifier and Type | Method and Description |
---|---|
static Dialog.ModalityType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ModalityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialog.ModalityType APPLICATION_MODAL
public static final Dialog.ModalityType DOCUMENT_MODAL
public static final Dialog.ModalityType MODELESS
public static final Dialog.ModalityType TOOLKIT_MODAL
public static Dialog.ModalityType[] values()
for (Dialog.ModalityType c : Dialog.ModalityType.values()) System.out.println(c);
public static Dialog.ModalityType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null