public static enum StreetsideDownloader.DOWNLOAD_MODE extends 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 String |
label |
private String |
prefId |
Modifier and Type | Method and Description |
---|---|
static StreetsideDownloader.DOWNLOAD_MODE |
fromLabel(String label) |
static StreetsideDownloader.DOWNLOAD_MODE |
fromPrefId(String prefId) |
String |
getLabel() |
String |
getPrefId() |
static StreetsideDownloader.DOWNLOAD_MODE |
valueOf(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
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(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 nullpublic String getPrefId()
public String getLabel()
public static StreetsideDownloader.DOWNLOAD_MODE fromPrefId(String prefId)
public static StreetsideDownloader.DOWNLOAD_MODE fromLabel(String label)