com.googlecode.charts4j
Enum GeographicalArea

java.lang.Object
  extended by java.lang.Enum<GeographicalArea>
      extended by com.googlecode.charts4j.GeographicalArea
All Implemented Interfaces:
Serializable, Comparable<GeographicalArea>

public enum GeographicalArea
extends Enum<GeographicalArea>

The geographical area enumeration that must be supplied for GCharts.newMapChart(GeographicalArea).

Author:
Julien Chastang (julien.c.chastang at gmail dot com)
See Also:
PoliticalBoundary, USAState, Country, MapChart, GCharts

Enum Constant Summary
AFRICA
          Africa.
ASIA
          Asia.
EUROPE
          Europe.
MIDDLE_EAST
          Middle East.
SOUTH_AMERICA
          South America.
USA
          USA.
WORLD
          World.
 
Method Summary
 String toString()
          
static GeographicalArea valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GeographicalArea[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AFRICA

public static final GeographicalArea AFRICA
Africa.


ASIA

public static final GeographicalArea ASIA
Asia.


EUROPE

public static final GeographicalArea EUROPE
Europe.


MIDDLE_EAST

public static final GeographicalArea MIDDLE_EAST
Middle East.


SOUTH_AMERICA

public static final GeographicalArea SOUTH_AMERICA
South America.


USA

public static final GeographicalArea USA
USA.


WORLD

public static final GeographicalArea WORLD
World.

Method Detail

values

public static final GeographicalArea[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(GeographicalArea c : GeographicalArea.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static GeographicalArea 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

toString

public String toString()

Overrides:
toString in class Enum<GeographicalArea>