public static enum HomeView.SaveAnswer extends java.lang.Enum<HomeView.SaveAnswer>
Enum Constant and Description |
---|
CANCEL |
DO_NOT_SAVE |
SAVE |
Modifier and Type | Method and Description |
---|---|
static HomeView.SaveAnswer |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HomeView.SaveAnswer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HomeView.SaveAnswer SAVE
public static final HomeView.SaveAnswer CANCEL
public static final HomeView.SaveAnswer DO_NOT_SAVE
public static HomeView.SaveAnswer[] values()
for (HomeView.SaveAnswer c : HomeView.SaveAnswer.values()) System.out.println(c);
public static HomeView.SaveAnswer 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
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License