com.alee.managers.language
Class LanguageAdapter

java.lang.Object
  extended by com.alee.managers.language.LanguageAdapter
All Implemented Interfaces:
LanguageListener, java.util.EventListener

public abstract class LanguageAdapter
extends java.lang.Object
implements LanguageListener

Custom LanguageListener adapter.

Author:
Mikle Garin

Constructor Summary
LanguageAdapter()
           
 
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.
 void languageUpdated()
          Informs that language was updated in some way.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LanguageAdapter

public LanguageAdapter()
Method Detail

languageChanged

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

Specified by:
languageChanged in interface LanguageListener
Parameters:
oldLang - old language
newLang - new language

dictionaryAdded

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

Specified by:
dictionaryAdded in interface LanguageListener
Parameters:
dictionary - added dictionary

dictionaryRemoved

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

Specified by:
dictionaryRemoved in interface LanguageListener
Parameters:
dictionary - removed dictionary

dictionariesCleared

public void dictionariesCleared()
Notifies when dictionaries cleared.

Specified by:
dictionariesCleared in interface LanguageListener

languageUpdated

public void languageUpdated()
Informs that language was updated in some way.