Class LanguageChangeEvent


  • public class LanguageChangeEvent
    extends java.lang.Object
    This Event is used by LanguageChangeListener.
    See Also:
    LanguageChangeListener
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Locale currentLocale  
      private java.util.Locale oldLocale  
    • 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.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
    • Field Detail

      • currentLocale

        private final java.util.Locale currentLocale
      • oldLocale

        private final java.util.Locale oldLocale
    • 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