com.cbse.jeasy
Class JELocale
java.lang.Object
com.cbse.jeasy.JEObject
com.cbse.jeasy.JELocale
public class JELocale
- extends JEObject
A class representing a locale.
A Locale object represents a specific geographical, political, or cultural region.
An operation that requires a Locale to perform its task is called locale-sensitive and uses the
Locale to tailor information for the user.
For example, displaying a number is a locale-sensitive operation--the number should be formatted
according to the customs/conventions of the user's native country, region, or culture.
| Properties |
| name | values | comment |
| id | * | Id of the object. Let it begin with LC_ |
| language | * | use the ISO Code 639 to select a language in lowercase characters |
| country | * | use the ISO Code 3166 to select a country in uppercase characters |
| variant | * | vendor specific |
* = property you have to set; bold = default value
- Version:
- %I%, %G%
- Author:
- H.Pfohl
|
Constructor Summary |
JELocale()
|
JELocale(java.lang.String s)
Reads the properties from a string. |
| Methods inherited from class com.cbse.jeasy.JEObject |
backupEntry, clear, deserializeValue, getApplet, getApplLocale, getCenter, getComponent, getEast, getElementAt, getElementSize, getId, getJCallBack, getJClass, getLabel, getMode, getName, getNorth, getObjLocale, getParentId, getPreview, getProjectDirectory, getProperty, getRegisterText, getSouth, getStarted, getTitle, getType, getWest, getXMLtag, isEditable, isEnabled, isEnterprise, isProfessional, isStandard, isVisible, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEadd, JEaddTab, removeProperties, removeProperty, restoreEntry, serializeValue, setApplet, setApplLocale, setEditable, setEditable, setEnabled, setEnabled, setFocus, setJCallBack, setMarkable, setMarkable, setMode, setObjLocale, setParentId, setPreview, setProjectDirectory, setProperty, setStarted, setVisible, setVisible, start, wasEntryChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JELocale
public JELocale(java.lang.String s)
- Reads the properties from a string.
- Parameters:
s - contains properties and values- See Also:
JE#PropertyString
JELocale
public JELocale()
getCountry
public java.lang.String getCountry()
- Returns:
- Returns the country.
setCountry
public void setCountry(java.lang.String country)
- Parameters:
country - The country to set.
getLanguage
public java.lang.String getLanguage()
- Returns:
- Returns the language.
setLanguage
public void setLanguage(java.lang.String language)
- Parameters:
language - The language to set.
getVariant
public java.lang.String getVariant()
- Returns:
- Returns the variant.
setVariant
public void setVariant(java.lang.String variant)
- Parameters:
variant - The variant to set.