public enum DialogActions extends java.lang.Enum<DialogActions>
InputDialog
.Enum Constant and Description |
---|
OK |
OK_CANCEL |
YES_NO |
YES_NO_CANCEL |
Modifier and Type | Method and Description |
---|---|
static DialogActions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DialogActions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogActions OK
public static final DialogActions OK_CANCEL
public static final DialogActions YES_NO
public static final DialogActions YES_NO_CANCEL
public static DialogActions[] values()
for (DialogActions c : DialogActions.values()) System.out.println(c);
public static DialogActions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null