|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.esri.aims.mtier.model.map.environment.Locale
Stores information that is used to determine the country and language locale.
Locale
is set after the Map object's InitMap
method is called.
Constructor Summary | |
Locale()
Constructs an instance of a Locale object. |
Method Summary | |
String |
getCountry()
Returns the country associated with this Locale . |
String |
getLanguage()
Returns the language associated with this Locale . |
String |
getVariant()
Returns the variant value associated with this Locale . |
void |
setCountry(String value)
Sets the country to be associated with this Locale . |
void |
setLanguage(String value)
Sets the language to be associated with this Locale using given string. |
void |
setVariant(String value)
Sets the variant using given string for this Locale . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Locale()
Locale
object.
Example: Locale locale = new Locale();
Method Detail |
public void setLanguage(String value)
Locale
using given string.
Example: locale.setLanguage("en");
value
- the language value.getLanguage()
public String getLanguage()
Locale
.
Example: String lang = locale.getLanguage();
setLanguage(java.lang.String)
public void setCountry(String value)
Locale
.
Example: locale.setCountry("us");
value
- the country value.getCountry()
public String getCountry()
Locale
.
Example: String country = locale.getCountry();
setCountry(java.lang.String)
public void setVariant(String value)
Locale
.
Example: locale.setVariant("_EURO");
value
- the variant value.getVariant()
public String getVariant()
Locale
.
Example: String variant = locale.getVariant();
setVariant(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |