Package com.vaadin.flow.i18n
Class LocaleChangeEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.i18n.LocaleChangeEvent
- All Implemented Interfaces:
Serializable
Event object with data related to locale change.
- Since:
- 1.0
- Author:
- Vaadin Ltd
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
LocaleChangeEvent
Locale change event constructor.- Parameters:
ui
- The ui on which the Event initially occurred.locale
- new locale that was set
-
-
Method Details
-
getLocale
Get the new locale that was set.- Returns:
- set locale
-
getUI
Returns the UI where the locale changed in.- Returns:
- the ui
-