public static enum StreetsideDownloader.DOWNLOAD_MODE extends java.lang.Enum<StreetsideDownloader.DOWNLOAD_MODE>
| Enum Constant and Description |
|---|
MANUAL_ONLY |
OSM_AREA |
VISIBLE_AREA |
| Modifier and Type | Field and Description |
|---|---|
static StreetsideDownloader.DOWNLOAD_MODE |
DEFAULT |
private java.lang.String |
label |
private java.lang.String |
prefId |
| Modifier and Type | Method and Description |
|---|---|
static StreetsideDownloader.DOWNLOAD_MODE |
fromLabel(java.lang.String label) |
static StreetsideDownloader.DOWNLOAD_MODE |
fromPrefId(java.lang.String prefId) |
java.lang.String |
getLabel() |
java.lang.String |
getPrefId() |
static StreetsideDownloader.DOWNLOAD_MODE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreetsideDownloader.DOWNLOAD_MODE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreetsideDownloader.DOWNLOAD_MODE VISIBLE_AREA
public static final StreetsideDownloader.DOWNLOAD_MODE OSM_AREA
public static final StreetsideDownloader.DOWNLOAD_MODE MANUAL_ONLY
public static final StreetsideDownloader.DOWNLOAD_MODE DEFAULT
private final java.lang.String prefId
private final java.lang.String label
public static StreetsideDownloader.DOWNLOAD_MODE[] values()
for (StreetsideDownloader.DOWNLOAD_MODE c : StreetsideDownloader.DOWNLOAD_MODE.values()) System.out.println(c);
public static StreetsideDownloader.DOWNLOAD_MODE 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 nullpublic java.lang.String getPrefId()
public java.lang.String getLabel()
public static StreetsideDownloader.DOWNLOAD_MODE fromPrefId(java.lang.String prefId)
public static StreetsideDownloader.DOWNLOAD_MODE fromLabel(java.lang.String label)