Package com.vaadin.flow.i18n
Class LocaleChangeEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.flow.i18n.LocaleChangeEvent
-
- All Implemented Interfaces:
Serializable
public class LocaleChangeEvent extends EventObject
Event object with data related to locale change.- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description LocaleChangeEvent(UI ui, Locale locale)
Locale change event constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Locale
getLocale()
Get the new locale that was set.UI
getUI()
Returns the UI where the locale changed in.-
Methods inherited from class java.util.EventObject
getSource, toString
-
-