com.inet.jortho
Class LanguageChangeEvent

java.lang.Object
  extended by com.inet.jortho.LanguageChangeEvent

public class LanguageChangeEvent
extends java.lang.Object

This Event is used by LanguageChangeListener.

See Also:
LanguageChangeListener

Constructor Summary
LanguageChangeEvent(java.util.Locale currentLocale, java.util.Locale oldLocale)
          Creates a new LanguageChangeEvent
 
Method Summary
 java.util.Locale getCurrentLocale()
          Get the value of the current Locale after firing this Event.
 java.util.Locale getOldLocale()
          Gets the value of the old Locale before the firing this Event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageChangeEvent

public LanguageChangeEvent(java.util.Locale currentLocale,
                           java.util.Locale oldLocale)
Creates a new LanguageChangeEvent

Parameters:
currentLocale - the new Locale
oldLocale - the old Locale
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 to SpellChecker.getCurrentLocale().

Returns:
the current Locale
See Also:
SpellChecker.getCurrentLocale()


Copyright © 2005 - 2009 i-net software. All Rights Reserved.