public static enum Dialog.CenterOption extends java.lang.Enum<Dialog.CenterOption>
| Enum Constant and Description |
|---|
CENTER_ON_DIALOG |
CENTER_ON_SCREEN |
| Modifier and Type | Method and Description |
|---|---|
static Dialog.CenterOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.CenterOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialog.CenterOption CENTER_ON_SCREEN
public static final Dialog.CenterOption CENTER_ON_DIALOG
public static Dialog.CenterOption[] values()
for (Dialog.CenterOption c : Dialog.CenterOption.values()) System.out.println(c);
public static Dialog.CenterOption 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