Package 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 andwindowClose(CloseEvent)will be called whenever the user closes the window.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwindowClose(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. UseWindow.CloseEvent.getWindow()to get a reference to theWindowthat was closed.- Parameters:
e- The triggered event
-
-