com.cbse.jeasy
Class JELocale

java.lang.Object
  extended by com.cbse.jeasy.JEObject
      extended by 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
namevaluescomment
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

Field Summary
 
Fields inherited from class com.cbse.jeasy.JEObject
DEVELOPPING, INPUT_ERROR_DATE, INPUT_ERROR_LENGTH, INPUT_ERROR_MANDATORY, INPUT_ERROR_PARSE, INPUT_ERROR_RANGE, INPUT_ERROR_TIME, INPUT_ERRORS, NO_INPUT_ERROR, RUNNING
 
Constructor Summary
JELocale()
           
JELocale(java.lang.String s)
          Reads the properties from a string.
 
Method Summary
 java.lang.String getCountry()
           
 java.lang.String getLanguage()
           
 java.lang.String getVariant()
           
 void setCountry(java.lang.String country)
           
 void setLanguage(java.lang.String language)
           
 void setVariant(java.lang.String variant)
           
 
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
 

Constructor Detail

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()
Method Detail

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.