echopoint.google.chart
Enum Map.Regions
java.lang.Object
java.lang.Enum<Map.Regions>
echopoint.google.chart.Map.Regions
- All Implemented Interfaces:
- Serializable, Comparable<Map.Regions>
- Enclosing class:
- Map
public static enum Map.Regions
- extends Enum<Map.Regions>
An enumeration used to represent the regions supported by the map.
|
Method Summary |
static Map.Regions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Map.Regions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
africa
public static final Map.Regions africa
asia
public static final Map.Regions asia
europe
public static final Map.Regions europe
middle_east
public static final Map.Regions middle_east
south_america
public static final Map.Regions south_america
usa
public static final Map.Regions usa
world
public static final Map.Regions world
values
public static Map.Regions[] 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 (Map.Regions c : Map.Regions.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Map.Regions 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