org.xnap.commons.i18n

Class LocaleChangeEvent

public class LocaleChangeEvent extends EventObject

Provides information about a locale change.

Since: 0.9

Author: Steffen Pingel

Constructor Summary
LocaleChangeEvent(Object source, Locale newLocale)
Constructs the event.
Method Summary
LocalegetNewLocale()
Returns the new locale.

Constructor Detail

LocaleChangeEvent

public LocaleChangeEvent(Object source, Locale newLocale)
Constructs the event.

Parameters: source the source of the event newLocale the new locale

Since: 0.9

Method Detail

getNewLocale

public Locale getNewLocale()
Returns the new locale.

Returns: the new locale

Since: 0.9