org.workingfrog.i18n.util
Class LocaleEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.workingfrog.i18n.util.LocaleEvent
All Implemented Interfaces:
java.io.Serializable

public class LocaleEvent
extends java.util.EventObject

Event fired when default Locale is changed.

Author:
Jean-Hugues de Raigniac
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LocaleEvent(java.lang.Object source)
          Event containing the Object which fired it.
LocaleEvent(java.lang.Object source, java.util.Locale locale)
          Event containing the Object which fired it and a new Locale.
 
Method Summary
 java.util.Locale getLocale()
          Provides the Locale tied with this LocaleEvent.
 
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

LocaleEvent

public LocaleEvent(java.lang.Object source)
Event containing the Object which fired it.

Parameters:
source - Object firing this LocaleEvent

LocaleEvent

public LocaleEvent(java.lang.Object source,
                   java.util.Locale locale)
Event containing the Object which fired it and a new Locale.

Parameters:
source - Object firing this LocaleEvent
locale - A new one
Method Detail

getLocale

public java.util.Locale getLocale()
Provides the Locale tied with this LocaleEvent.

Returns:
The new Locale