Package com.vaadin.ui
Interface Window.WindowModeChangeListener
-
- 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.WindowModeChangeListener extends SerializableEventListener
An interface used for listening to Window maximize / restore events. Add the WindowModeChangeListener to a window andwindowModeChanged(WindowModeChangeEvent)will be called whenever the window is maximized (WindowMode.MAXIMIZED) or restored (WindowMode.NORMAL).
-
-
Field Summary
Fields Modifier and Type Field Description static MethodwindowModeChangeMethod
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidwindowModeChanged(Window.WindowModeChangeEvent event)Called when the user maximizes / restores a window.
-
-
-
Field Detail
-
windowModeChangeMethod
static final Method windowModeChangeMethod
-
-
Method Detail
-
windowModeChanged
void windowModeChanged(Window.WindowModeChangeEvent event)
Called when the user maximizes / restores a window. UseWindow.WindowModeChangeEvent.getWindow()to get a reference to theWindowthat was maximized / restored. UseWindow.WindowModeChangeEvent.getWindowMode()to get a reference to the new state.- Parameters:
event-
-
-