You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
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

      All Methods
      Modifier and Type Method Description
      void localeChange​(LocaleChangeEvent event)

      Notifies when the UI locale is changed.

    • Method Detail

      • localeChange

        void localeChange​(LocaleChangeEvent event)

        Notifies when the UI locale is changed.

        Parameters:

        event - locale change event with event details