Package com.inet.jortho
Class LanguageChangeEvent
- java.lang.Object
-
- com.inet.jortho.LanguageChangeEvent
-
public class LanguageChangeEvent extends java.lang.ObjectThis Event is used byLanguageChangeListener.- See Also:
LanguageChangeListener
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.LocalecurrentLocaleprivate java.util.LocaleoldLocale
-
Constructor Summary
Constructors Constructor Description LanguageChangeEvent(java.util.Locale currentLocale, java.util.Locale oldLocale)Creates a new LanguageChangeEvent
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.LocalegetCurrentLocale()Get the value of the current Locale after firing this Event.java.util.LocalegetOldLocale()Gets the value of the old Locale before the firing this Event.
-
-
-
Method Detail
-
getOldLocale
public java.util.Locale getOldLocale()
Gets the value of the old Locale before the firing this Event.- Returns:
- the old Locale
- See Also:
SpellChecker.getCurrentLocale()
-
getCurrentLocale
public java.util.Locale getCurrentLocale()
Get the value of the current Locale after firing this Event. It general it should be equal toSpellChecker.getCurrentLocale().- Returns:
- the current Locale
- See Also:
SpellChecker.getCurrentLocale()
-
-