Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.util.Locale

Packages that use Locale
java.applet | Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
java.awt.im | Provides classes and interfaces for the input method framework.
java.awt.im.spi | Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
java.beans.beancontext | Provides classes and interfaces relating to bean context.
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.text | Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).
javax.accessibility | Defines a contract between user-interface components and an assistive technology that provides access to those components.
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
javax.swing.table | Provides classes and interfaces for dealing with javax.swing.JTable.

Uses of Locale in java.applet

Methods in java.applet that return Locale
`Locale` | `Applet.getLocale()` Gets the Locale for the applet, if it has been set.

Uses of Locale in java.awt

Methods in java.awt that return Locale
`Locale` | `Component.getLocale()` Gets the locale of this component.
`Locale` | `Component.AccessibleAWTComponent.getLocale()` Return the locale of this object.
`Locale` | `MenuComponent.AccessibleAWTMenuComponent.getLocale()` Return the locale of this object.
`Locale` | `Window.getLocale()` Gets the `Locale` object that is associated with this window, if the locale has been set.
`Locale` | `List.AccessibleAWTList.AccessibleAWTListChild.getLocale()` Gets the locale of the component.

Methods in java.awt with parameters of type Locale
`void` | `Component.setLocale(Locale l)` Sets the locale of this component.
`abstract String[]` | `GraphicsEnvironment.getAvailableFontFamilyNames(Locale l)` Returns an array containing the localized names of all font families available in this `GraphicsEnvironment`.
`String` | `Font.getFamily(Locale l)` Returns the family name of this `Font`, localized for the specified locale.
`String` | `Font.getFontName(Locale l)` Returns the font face name of the `Font`, localized for the specified locale.
`static ComponentOrientation` | `ComponentOrientation.getOrientation(Locale locale)` Return the orientation that is appropriate for the given locale

Uses of Locale in java.awt.im

Methods in java.awt.im that return Locale
`Locale` | `InputContext.getLocale()` Returns the current locale of the current input method.

Methods in java.awt.im with parameters of type Locale
`boolean` | `InputContext.selectInputMethod(Locale locale)` Selects an input method that supports the given locale.

Uses of Locale in java.awt.im.spi

Methods in java.awt.im.spi that return Locale
`Locale[]` | `InputMethodDescriptor.getAvailableLocales()` Returns the locales supported by the corresponding input method.
`Locale` | `InputMethod.getLocale()` Returns the current input locale.

Methods in java.awt.im.spi with parameters of type Locale
`String` | `InputMethodDescriptor.getInputMethodDisplayName(Locale inputLocale, Locale displayLanguage)` Returns the user-visible name of the corresponding input method for the given input locale in the language in which the name will be displayed.
`Image` | `InputMethodDescriptor.getInputMethodIcon(Locale inputLocale)` Returns an icon for the corresponding input method.
`boolean` | `InputMethod.setLocale(Locale locale)` Attempts to set the input locale.

Uses of Locale in java.beans.beancontext

Fields in java.beans.beancontext declared as Locale
`protected Locale` | `BeanContextSupport.locale` The current locale of this BeanContext.

Methods in java.beans.beancontext that return Locale
`Locale` | `BeanContextSupport.getLocale()` Gets the locale for this `BeanContext`.

Methods in java.beans.beancontext with parameters of type Locale
`void` | `BeanContextSupport.setLocale(Locale newLocale)` Sets the locale of this BeanContext.

Constructors in java.beans.beancontext with parameters of type Locale
`BeanContextSupport(BeanContext peer, Locale lcle, boolean dTime, boolean visible)` Construct a BeanContextSupport instance
`BeanContextSupport(BeanContext peer, Locale lcle, boolean dtime)` Create an instance using the specified Locale and design mode.
`BeanContextSupport(BeanContext peer, Locale lcle)` Create an instance using the specified locale
`BeanContextServicesSupport(BeanContextServices peer, Locale lcle, boolean dTime, boolean visible)` Construct a BeanContextServicesSupport instance
`BeanContextServicesSupport(BeanContextServices peer, Locale lcle, boolean dtime)` Create an instance using the specified Locale and design mode.
`BeanContextServicesSupport(BeanContextServices peer, Locale lcle)` Create an instance using the specified locale

Uses of Locale in java.lang

Methods in java.lang with parameters of type Locale
`String` | `String.toLowerCase(Locale locale)` Converts all of the characters in this `String` to lower case using the rules of the given `Locale`.
`String` | `String.toUpperCase(Locale locale)` Converts all of the characters in this `String` to upper case using the rules of the given locale.

Uses of Locale in java.text

Methods in java.text that return Locale
`static Locale[]` | `NumberFormat.getAvailableLocales()` Get the set of Locales for which NumberFormats are installed
`static Locale[]` | `Collator.getAvailableLocales()` Get the set of Locales for which Collators are installed.
`static Locale[]` | `DateFormat.getAvailableLocales()` Gets the set of locales for which DateFormats are installed.
`static Locale[]` | `BreakIterator.getAvailableLocales()` Get the set of Locales for which BreakIterators are installed
`Locale` | `MessageFormat.getLocale()` Gets the locale.

Methods in java.text with parameters of type Locale
`static NumberFormat` | `NumberFormat.getInstance(Locale inLocale)` Returns the default number format for the specified locale.
`static NumberFormat` | `NumberFormat.getNumberInstance(Locale inLocale)` Returns a general-purpose number format for the specified locale.
`static NumberFormat` | `NumberFormat.getCurrencyInstance(Locale inLocale)` Returns a currency format for the specified locale.
`static NumberFormat` | `NumberFormat.getPercentInstance(Locale inLocale)` Returns a percentage format for the specified locale.
`static Collator` | `Collator.getInstance(Locale desiredLocale)` Gets the Collator for the desired locale.
`static DateFormat` | `DateFormat.getTimeInstance(int style, Locale aLocale)` Gets the time formatter with the given formatting style for the given locale.
`static DateFormat` | `DateFormat.getDateInstance(int style, Locale aLocale)` Gets the date formatter with the given formatting style for the given locale.
`static DateFormat` | `DateFormat.getDateTimeInstance(int dateStyle, int timeStyle, Locale aLocale)` Gets the date/time formatter with the given formatting styles for the given locale.
`static BreakIterator` | `BreakIterator.getWordInstance(Locale where)` Create BreakIterator for word-breaks using specified locale.
`static BreakIterator` | `BreakIterator.getLineInstance(Locale where)` Create BreakIterator for line-breaks using specified locale.
`static BreakIterator` | `BreakIterator.getCharacterInstance(Locale where)` Create BreakIterator for character-breaks using specified locale Returns an instance of a BreakIterator implementing character breaks.
`static BreakIterator` | `BreakIterator.getSentenceInstance(Locale where)` Create BreakIterator for sentence-breaks using specified locale Returns an instance of a BreakIterator implementing sentence breaks.
`void` | `MessageFormat.setLocale(Locale theLocale)` Constructs with the specified pattern and formats for the arguments in that pattern.

Constructors in java.text with parameters of type Locale
`SimpleDateFormat(String pattern, Locale loc)` Construct a SimpleDateFormat using the given pattern and locale.
`DateFormatSymbols(Locale locale)` Construct a DateFormatSymbols object by loading format data from resources for the given locale.
`DecimalFormatSymbols(Locale locale)` Create a DecimalFormatSymbols object for the given locale.

Uses of Locale in java.util

Fields in java.util declared as Locale
`static Locale` | `Locale.ENGLISH` Useful constant for language.
`static Locale` | `Locale.FRENCH` Useful constant for language.
`static Locale` | `Locale.GERMAN` Useful constant for language.
`static Locale` | `Locale.ITALIAN` Useful constant for language.
`static Locale` | `Locale.JAPANESE` Useful constant for language.
`static Locale` | `Locale.KOREAN` Useful constant for language.
`static Locale` | `Locale.CHINESE` Useful constant for language.
`static Locale` | `Locale.SIMPLIFIED_CHINESE` Useful constant for language.
`static Locale` | `Locale.TRADITIONAL_CHINESE` Useful constant for language.
`static Locale` | `Locale.FRANCE` Useful constant for country.
`static Locale` | `Locale.GERMANY` Useful constant for country.
`static Locale` | `Locale.ITALY` Useful constant for country.
`static Locale` | `Locale.JAPAN` Useful constant for country.
`static Locale` | `Locale.KOREA` Useful constant for country.
`static Locale` | `Locale.CHINA` Useful constant for country.
`static Locale` | `Locale.PRC` Useful constant for country.
`static Locale` | `Locale.TAIWAN` Useful constant for country.
`static Locale` | `Locale.UK` Useful constant for country.
`static Locale` | `Locale.US` Useful constant for country.
`static Locale` | `Locale.CANADA` Useful constant for country.
`static Locale` | `Locale.CANADA_FRENCH` Useful constant for country.

Methods in java.util that return Locale
`Locale` | `ResourceBundle.getLocale()` Return the Locale for this ResourceBundle.
`static Locale[]` | `Calendar.getAvailableLocales()` Gets the list of locales for which Calendars are installed.
`static Locale` | `Locale.getDefault()` Gets the current value of the default locale for this instance of the Java Virtual Machine.
`static Locale[]` | `Locale.getAvailableLocales()` Returns a list of all installed locales.

Methods in java.util with parameters of type Locale
`static ResourceBundle` | `ResourceBundle.getBundle(String baseName, Locale locale)` Get the appropriate ResourceBundle subclass.
`static ResourceBundle` | `ResourceBundle.getBundle(String baseName, Locale locale, ClassLoader loader)` Get the appropriate ResourceBundle subclass.
`String` | `TimeZone.getDisplayName(Locale locale)` Returns a name of this time zone suitable for presentation to the user in the specified locale.
`String` | `TimeZone.getDisplayName(boolean daylight, int style, Locale locale)` Returns a name of this time zone suitable for presentation to the user in the specified locale.
`static Calendar` | `Calendar.getInstance(Locale aLocale)` Gets a calendar using the default time zone and specified locale.
`static Calendar` | `Calendar.getInstance(TimeZone zone, Locale aLocale)` Gets a calendar with the specified time zone and locale.
`static void` | `Locale.setDefault(Locale newLocale)` Sets the default locale for this instance of the Java Virtual Machine.
`String` | `Locale.getDisplayLanguage(Locale inLocale)` Returns a name for the locale's language that is appropriate for display to the user.
`String` | `Locale.getDisplayCountry(Locale inLocale)` Returns a name for the locale's country that is appropriate for display to the user.
`String` | `Locale.getDisplayVariant(Locale inLocale)` Returns a name for the locale's variant code that is appropriate for display to the user.
`String` | `Locale.getDisplayName(Locale inLocale)` Returns a name for the locale that is appropriate for display to the user.

Constructors in java.util with parameters of type Locale
`Calendar(TimeZone zone, Locale aLocale)` Constructs a calendar with the specified time zone and locale.
`GregorianCalendar(Locale aLocale)` Constructs a GregorianCalendar based on the current time in the default time zone with the given locale.
`GregorianCalendar(TimeZone zone, Locale aLocale)` Constructs a GregorianCalendar based on the current time in the given time zone with the given locale.

Uses of Locale in javax.accessibility

Methods in javax.accessibility that return Locale
`abstract Locale` | `AccessibleContext.getLocale()` Gets the locale of the component.

Methods in javax.accessibility with parameters of type Locale
`protected String` | `AccessibleBundle.toDisplayString(String resourceBundleName, Locale locale)` Obtains the key as a localized string.
`String` | `AccessibleBundle.toDisplayString(Locale locale)` Obtains the key as a localized string.

Uses of Locale in javax.swing

Methods in javax.swing that return Locale
`Locale` | `JList.AccessibleJList.AccessibleJListChild.getLocale()`
`Locale` | `JTree.AccessibleJTree.AccessibleJTreeNode.getLocale()` Gets the locale of the component.
`Locale` | `JTable.AccessibleJTable.AccessibleJTableCell.getLocale()` Gets the locale of the component.
`Locale` | `ImageIcon.AccessibleImageIcon.getLocale()` Returns the locale of this object.

Uses of Locale in javax.swing.table

Methods in javax.swing.table that return Locale
`Locale` | `JTableHeader.AccessibleJTableHeader.AccessibleJTableHeaderEntry.getLocale()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.3.1
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.