public enum DialogType extends Enum<DialogType>
| Enum Constant and Description |
|---|
ALERT |
BEFOREUNLOAD |
CONFIRM |
PROMPT |
| Modifier and Type | Method and Description |
|---|---|
static DialogType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogType ALERT
public static final DialogType CONFIRM
public static final DialogType PROMPT
public static final DialogType BEFOREUNLOAD
public static DialogType[] values()
for (DialogType c : DialogType.values()) System.out.println(c);
public static DialogType 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 nullCopyright © 2020. All rights reserved.