- All Implemented Interfaces:
Serializable,Comparable<WorldMapView.Country>,Constable
- Enclosing class:
- WorldMapView
An enumerator listing all countries of the world.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the locale for the given country.static WorldMapView.CountryReturns the enum constant of this class with the specified name.static WorldMapView.Country[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AE
-
AO
-
AR
-
AT
-
AU
-
AZ
-
BA
-
BD
-
BE
-
BF
-
BG
-
BI
-
BJ
-
BN
-
BO
-
BR
-
BS
-
BT
-
BW
-
BY
-
BZ
-
CA
-
CD
-
CF
-
CG
-
CH
-
CI
-
CL
-
CM
-
CN
-
CO
-
CR
-
CU
-
CY
-
CZ
-
DE
-
DJ
-
DK
-
DO
-
DZ
-
EC
-
EE
-
EG
-
EH
-
ER
-
ES
-
ET
-
FK
-
FI
-
FJ
-
FR
-
GA
-
GB
-
GE
-
GF
-
GH
-
GL
-
GM
-
GN
-
GQ
-
GR
-
GT
-
GW
-
GY
-
HN
-
HR
-
HT
-
HU
-
ID
-
IE
-
IL
-
IN
-
IQ
-
IR
-
IS
-
IT
-
JM
-
JO
-
JP
-
KE
-
KG
-
KH
-
KP
-
KR
-
XK
-
KW
-
KZ
-
LA
-
LB
-
LK
-
LR
-
LS
-
LT
-
LU
-
LV
-
LY
-
MA
-
MD
-
ME
-
MG
-
MK
-
ML
-
MM
-
MN
-
MR
-
MW
-
MX
-
MY
-
MZ
-
NA
-
NC
-
NE
-
NG
-
NI
-
NL
-
NO
-
NP
-
NZ
-
OM
-
PA
-
PE
-
PG
-
PH
-
PL
-
PK
-
PR
-
PS
-
PT
-
PY
-
QA
-
RO
-
RS
-
RU
-
RW
-
SA
-
SB
-
SD
-
SE
-
SI
-
SJ
-
SK
-
SL
-
SN
-
SO
-
SR
-
SS
-
SV
-
SY
-
SZ
-
TD
-
TF
-
TG
-
TH
-
TJ
-
TL
-
TM
-
TN
-
TR
-
TT
-
TW
-
TZ
-
UA
-
UG
-
US
-
UY
-
UZ
-
VE
-
VN
-
VU
-
YE
-
ZA
-
ZM
-
ZW
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getLocale
Returns the locale for the given country. The locale can be used to lookup the display name of the country.- Returns:
- the locale matching the country
-