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