com.eteks.sweethome3d.viewcontroller
Enum HomeView.SaveAnswer
java.lang.Object
java.lang.Enum<HomeView.SaveAnswer>
com.eteks.sweethome3d.viewcontroller.HomeView.SaveAnswer
- All Implemented Interfaces:
- Serializable, Comparable<HomeView.SaveAnswer>
- Enclosing interface:
- HomeView
public static enum HomeView.SaveAnswer
- extends Enum<HomeView.SaveAnswer>
SAVE
public static final HomeView.SaveAnswer SAVE
CANCEL
public static final HomeView.SaveAnswer CANCEL
DO_NOT_SAVE
public static final HomeView.SaveAnswer DO_NOT_SAVE
values
public static HomeView.SaveAnswer[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (HomeView.SaveAnswer c : HomeView.SaveAnswer.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static HomeView.SaveAnswer valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null