public class TranslatableSupport extends Object implements Translatable
Translatable intended to be used as a delegate by an owning UI.
The updateMessageStrings(Locale) method will traverse the entire component hierarchy of the UI and
update the message strings of any components that implement the Translatable interface.| Constructor and Description |
|---|
TranslatableSupport(UI ui)
Creates a new
TranslatableSupport. |
| Modifier and Type | Method and Description |
|---|---|
void |
updateMessageStrings(Locale locale)
Called when the component should update all of its translatable strings, setting locales, etc.
|
public TranslatableSupport(UI ui)
TranslatableSupport.ui - the UI that owns the object.public void updateMessageStrings(Locale locale)
TranslatableupdateMessageStrings in interface Translatablelocale - the new locale to use.Copyright © 2017. All rights reserved.