org.xnap.commons.i18n
Class LocaleChangeEvent

java.lang.Object
  extended by java.util.EventObject
      extended by org.xnap.commons.i18n.LocaleChangeEvent
All Implemented Interfaces:
Serializable

public class LocaleChangeEvent
extends EventObject

Provides information about a locale change.

Since:
0.9
Author:
Steffen Pingel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LocaleChangeEvent(Object source, Locale newLocale)
          Constructs the event.
 
Method Summary
 Locale getNewLocale()
          Returns the new locale.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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


Copyright © 2004-2007 Gettext Commons Team. All Rights Reserved.