com.azalient.apo.enums
Enum MapType
java.lang.Object
java.lang.Enum<MapType>
com.azalient.apo.enums.MapType
- All Implemented Interfaces:
- Serializable, Comparable<MapType>
public enum MapType
- extends Enum<MapType>
Type of download overlay: aerial photo, map, ...
|
Method Summary |
String |
keyWord()
|
static MapType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
AerialPhoto
public static final MapType AerialPhoto
StreetMap
public static final MapType StreetMap
values
public static MapType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MapType c : MapType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MapType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
keyWord
public String keyWord()