public enum DialogOption extends Enum<DialogOption>
Dialog
options.Enum Constant and Description |
---|
DEFAULT
Use the action buttons of the dialog type.
|
OK_CANCEL
Use 'OK' and 'Cancel' action buttons.
|
OK_ONLY
Use 'OK' action button.
|
YES_NO
Use 'Yes' and 'No' action buttons.
|
YES_NO_ATTACH
Use 'Yes', 'No' and 'Attach/Detach' action buttons.
|
YES_NO_CANCEL
Use 'Yes', 'No' and 'Cancel' action buttons.
|
Modifier and Type | Method and Description |
---|---|
static DialogOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogOption DEFAULT
public static final DialogOption OK_ONLY
public static final DialogOption OK_CANCEL
public static final DialogOption YES_NO
public static final DialogOption YES_NO_CANCEL
public static final DialogOption YES_NO_ATTACH
public static DialogOption[] values()
for (DialogOption c : DialogOption.values()) System.out.println(c);
public static DialogOption 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 © OBCOM INGENIERIA S.A. (Chile). All Rights Reserved.