Interface SWindowListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
SWindowAdapter

public interface SWindowListener extends EventListener
Surrogate-side port of WindowListener. Receives SWindowEvent (source = Vaadin Component).

Non-focus, non-state ids dispatch here — windowOpened, windowClosing, windowClosed, windowIconified, windowDeiconified, windowActivated, windowDeactivated. Focus ids route to SWindowFocusListener, state to SWindowStateListener; id → method dispatch lives in SFrame.processWindowEvent.

Iconify / deiconify / activate / deactivate are always inert under our Dialog-backed peer (no OS window manager in a browser tab). They remain on the interface so migrated code compiles and so a user overriding windowOpened / windowClosing doesn't have to implement the unused callbacks — use SWindowAdapter.