com.vaadin.flow.i18n.

Interface LocaleChangeObserver

All Superinterfaces:

Serializable

All Known Implementing Classes:

MessageList

Functional Interface:

This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LocaleChangeObserver extends Serializable

Any com.vaadin.ui.Component implementing this interface will be informed when the UI locale is changed and on attach.

Since:

1.0

Author:

Vaadin Ltd

  • Method Summary

    Modifier and Type
    Method
    Description
    void

    Notifies when the UI locale is changed.

  • Method Details

    • localeChange

      void localeChange(LocaleChangeEvent event)

      Notifies when the UI locale is changed.

      Parameters:

      event - locale change event with event details