Enum ExampleMap
- java.lang.Object
-
- java.lang.Enum<ExampleMap>
-
- net.wirelabs.jmaps.example.components.ExampleMap
-
- All Implemented Interfaces:
Serializable,Comparable<ExampleMap>
public enum ExampleMap extends Enum<ExampleMap>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_MAPCYCLEMTBOSMTOPO_CZTOPO_HIPSOTOPO_PLTOPO_PL_RASTERVIRT_EARTH_HYBVIRT_EARTH_MAPVIRT_EARTH_SAT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExampleMapvalueOf(String name)Returns the enum constant of this type with the specified name.static ExampleMap[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OSM
public static final ExampleMap OSM
-
CYCLE
public static final ExampleMap CYCLE
-
MTB
public static final ExampleMap MTB
-
TOPO_CZ
public static final ExampleMap TOPO_CZ
-
TOPO_PL
public static final ExampleMap TOPO_PL
-
TOPO_PL_RASTER
public static final ExampleMap TOPO_PL_RASTER
-
TOPO_HIPSO
public static final ExampleMap TOPO_HIPSO
-
VIRT_EARTH_SAT
public static final ExampleMap VIRT_EARTH_SAT
-
VIRT_EARTH_MAP
public static final ExampleMap VIRT_EARTH_MAP
-
VIRT_EARTH_HYB
public static final ExampleMap VIRT_EARTH_HYB
-
BAD_MAP
public static final ExampleMap BAD_MAP
-
-
Method Detail
-
values
public static ExampleMap[] 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 (ExampleMap c : ExampleMap.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExampleMap 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 nameNullPointerException- if the argument is null
-
-