com.vaadin.ui.


Interface Window.CloseListener

All Superinterfaces:

Serializable

Enclosing class:

Window

public static interface Window.CloseListener
extends Serializable

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

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

Method Summary
 void windowClose(Window.CloseEvent e)
          Called when the user closes a window.
 

Method Detail

windowClose

void windowClose(Window.CloseEvent e)

Called when the user closes a window. Use Window.CloseEvent.getWindow() to get a reference to the Window that was closed.

Parameters:
e - Event containing