com.alee.managers.language.updaters
Interface LanguageUpdater<E extends java.awt.Component>

All Known Implementing Classes:
AbstractButtonLU, DefaultLanguageUpdater, DialogLU, FrameLU, JFileChooserLU, JInternalFrameLU, JLabelLU, JProgressBarLU, JTabbedPaneLU, JTextComponentLU, LanguageExample.MyLabelUpdater, WebAbstractButtonLU, WebCollapsiblePaneLU, WebDockableFrameLU, WebFileDropLU, WebFormattedTextFieldLU, WebLanguageUpdater, WebPasswordFieldLU, WebTextFieldLU

public interface LanguageUpdater<E extends java.awt.Component>

This interface provides basic methods required for updating component language-dependant variables. There is also a predefined set of language updaters which are registered on LanguageManager initialization.

Author:
Mikle Garin

Method Summary
 java.lang.Class getComponentClass()
          Returns class which instance should be updated using this LanguageUpdater.
 void update(E c, java.lang.String key, Value value, java.lang.Object... data)
          Updates component language-dependant variables.
 

Method Detail

getComponentClass

java.lang.Class getComponentClass()
Returns class which instance should be updated using this LanguageUpdater.

Returns:
class type to update

update

void update(E c,
            java.lang.String key,
            Value value,
            java.lang.Object... data)
Updates component language-dependant variables.

Parameters:
c - component
key - language key
value - language value
data - formatting data