public static enum Controller.RetainViewMode extends java.lang.Enum<Controller.RetainViewMode>
| Enum Constant and Description |
|---|
RELEASE_DETACH
The Controller will release its reference to its view as soon as it is detached.
|
RETAIN_DETACH
The Controller will retain its reference to its view when detached, but will still release the reference when a config change occurs.
|
| Modifier and Type | Method and Description |
|---|---|
static Controller.RetainViewMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Controller.RetainViewMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Controller.RetainViewMode RELEASE_DETACH
public static final Controller.RetainViewMode RETAIN_DETACH
public static Controller.RetainViewMode[] values()
for (Controller.RetainViewMode c : Controller.RetainViewMode.values()) System.out.println(c);
public static Controller.RetainViewMode 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