com.vaadin.ui
Interface Window.WindowModeChangeListener
- All Superinterfaces:
- java.io.Serializable
- Enclosing class:
- Window
public static interface Window.WindowModeChangeListener
- extends java.io.Serializable
An interface used for listening to Window maximize / restore events. Add
the WindowModeChangeListener to a window and
WindowModeChangeListener#windowModeChanged(WindowModeChangeEvent)
will be called whenever the window is maximized (
WindowMode.MAXIMIZED
) or restored (WindowMode.NORMAL
).
windowModeChangeMethod
static final java.lang.reflect.Method windowModeChangeMethod
windowModeChanged
void windowModeChanged(Window.WindowModeChangeEvent event)
- Called when the user maximizes / restores a window. Use
Window.WindowModeChangeEvent.getWindow()
to get a reference to the
Window
that was maximized / restored. Use
Window.WindowModeChangeEvent.getWindowMode()
to get a reference to
the new state.
- Parameters:
event
-
Copyright © 2000-2011 Vaadin Ltd. All Rights Reserved.