com.vaadin.ui.

Interface Window.CloseListener

  • All Superinterfaces:

    EventListener, Serializable, SerializableEventListener

    Enclosing class:

    Window

    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 static interface Window.CloseListener
    extends SerializableEventListener

    An interface used for listening to Window close events. Add the CloseListener to a window and CloseListener#windowClose(CloseEvent) will be called whenever the user closes the window.

    Since Vaadin 6.5, removing a window using #removeWindow(Window) fires the CloseListener.

    • Method Summary

      All Methods
      Modifier and Type Method and Description
      void windowClose(Window.CloseEvent e)

      Called when the user closes a window.