public static enum SaveLayersDialog.Reason extends java.lang.Enum<SaveLayersDialog.Reason>
Enum Constant and Description |
---|
DELETE
deleting a layer
|
EXIT
exiting JOSM
|
RESTART
restarting JOSM
|
Modifier and Type | Method and Description |
---|---|
static SaveLayersDialog.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SaveLayersDialog.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaveLayersDialog.Reason DELETE
public static final SaveLayersDialog.Reason EXIT
public static final SaveLayersDialog.Reason RESTART
public static SaveLayersDialog.Reason[] values()
for (SaveLayersDialog.Reason c : SaveLayersDialog.Reason.values()) System.out.println(c);
public static SaveLayersDialog.Reason 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