com.vaadin.ui.
Interface Window.WindowModeChangeListener
-
All Superinterfaces:
Enclosing class:
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 and
windowModeChanged(WindowModeChangeEvent)
will be called whenever the window is maximized (WindowMode.MAXIMIZED
) or restored (WindowMode.NORMAL
).
-
-
Field Summary
Fields Modifier and Type Field Description static Method
windowModeChangeMethod
-
Method Summary
All Methods Modifier and Type Method Description void
windowModeChanged​(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. Use
Window.WindowModeChangeEvent.getWindow()
to get a reference to theWindow
that was maximized / restored. UseWindow.WindowModeChangeEvent.getWindowMode()
to get a reference to the new state.Parameters:
event
-
-
-