public static enum ImageryInfo.ImageryType extends Enum<ImageryInfo.ImageryType>
Enum Constant and Description |
---|
BING
TMS entry for Microsoft Bing.
|
HTML
An HTML proxy (previously used for Yahoo imagery) entry.
|
SCANEX
TMS entry for Russian company ScanEx.
|
TMS
A TMS (Tile Map Service) entry.
|
WMS
A WMS (Web Map Service) entry.
|
WMS_ENDPOINT
A WMS endpoint entry only stores the WMS server info, without layer, which are chosen later by the user.
|
Modifier and Type | Field and Description |
---|---|
private String |
typeString |
Modifier and Type | Method and Description |
---|---|
static ImageryInfo.ImageryType |
fromString(String s)
Returns the imagery type from the given type string.
|
String |
getTypeString()
Returns the unique string identifying this type.
|
static ImageryInfo.ImageryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageryInfo.ImageryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageryInfo.ImageryType WMS
public static final ImageryInfo.ImageryType TMS
public static final ImageryInfo.ImageryType HTML
public static final ImageryInfo.ImageryType BING
public static final ImageryInfo.ImageryType SCANEX
public static final ImageryInfo.ImageryType WMS_ENDPOINT
private final String typeString
public static ImageryInfo.ImageryType[] values()
for (ImageryInfo.ImageryType c : ImageryInfo.ImageryType.values()) System.out.println(c);
public static ImageryInfo.ImageryType 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 final String getTypeString()
public static ImageryInfo.ImageryType fromString(String s)
s
- The type string