public enum DialogAction extends Enum<DialogAction>
Dialog
action buttons.Enum Constant and Description |
---|
ATTACH_DETACH
Indicates that the 'Attach/Detach' button was selected.
|
CANCEL
Indicates that the 'Cancel' button was selected.
|
CLOSE
Indicates that the 'Close' button was selected.
|
NO
Indicates that the 'No' button was selected.
|
OK
Indicates that the 'OK' button was selected.
|
YES
Indicates that the 'Yes' button was selected.
|
Modifier and Type | Method and Description |
---|---|
static DialogAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DialogAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DialogAction CLOSE
public static final DialogAction OK
public static final DialogAction YES
public static final DialogAction NO
public static final DialogAction CANCEL
public static final DialogAction ATTACH_DETACH
public static DialogAction[] values()
for (DialogAction c : DialogAction.values()) System.out.println(c);
public static DialogAction 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.