com.alee.managers.language
Interface LanguageListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
LanguageAdapter

public interface LanguageListener
extends java.util.EventListener

This listener is used to determine language and dictionary changes in LanguageManager.

Author:
Mikle Garin

Method Summary
 void dictionariesCleared()
          Notifies when dictionaries cleared.
 void dictionaryAdded(Dictionary dictionary)
          Notifies when new dictionary added.
 void dictionaryRemoved(Dictionary dictionary)
          Notifies when new dictionary removed.
 void languageChanged(java.lang.String oldLang, java.lang.String newLang)
          Notifies when language changed.
 

Method Detail

languageChanged

void languageChanged(java.lang.String oldLang,
                     java.lang.String newLang)
Notifies when language changed.

Parameters:
oldLang - old language
newLang - new language

dictionaryAdded

void dictionaryAdded(Dictionary dictionary)
Notifies when new dictionary added.

Parameters:
dictionary - added dictionary

dictionaryRemoved

void dictionaryRemoved(Dictionary dictionary)
Notifies when new dictionary removed.

Parameters:
dictionary - removed dictionary

dictionariesCleared

void dictionariesCleared()
Notifies when dictionaries cleared.