Interface HasLocalization
- All Known Implementing Classes:
LocalizedComposite
public interface HasLocalization
A mix-in interface primarily for
Components to provide easy access to localized
messages and related information in the form of a MessageAccessor.-
Method Summary
Modifier and TypeMethodDescriptiondefault MessageAccessorgetL10n()Returns access to localized messages and related information for the locale of the current UI.
-
Method Details
-
getL10n
Returns access to localized messages and related information for the locale of the current UI. The returned objects are serializable, so it's possible to keep references to them in (serializable) Vaadin components.- Returns:
- access to localized messages
-