public static enum Dialog.ActionTrait extends Enum<Dialog.ActionTrait>
Dialog.DialogAction| Enum Constant and Description |
|---|
CANCEL
Action with this trait will cancel the dialog
|
CLOSING
Action with this trait will close the dialog
|
DEFAULT
Button related to an action with this will be set as default
|
| Modifier and Type | Method and Description |
|---|---|
static Dialog.ActionTrait |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.ActionTrait[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialog.ActionTrait CLOSING
public static final Dialog.ActionTrait DEFAULT
public static final Dialog.ActionTrait CANCEL
public static Dialog.ActionTrait[] values()
for (Dialog.ActionTrait c : Dialog.ActionTrait.values()) System.out.println(c);
public static Dialog.ActionTrait 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