Objects that implement the WindowListener interface can receive WindowEvent objects. Listeners must first register themselves with objects that produce events. When events occur, they are then automatically propagated to all registered listeners.
public abstract interface java.awt.event.WindowListener extends java.util.EventListener { // Instance Methods public abstract void windowActivated (WindowEvent e); public abstract void windowClosed (WindowEvent e); public abstract void windowClosing (WindowEvent e); public abstract void windowDeactivated (WindowEvent e); public abstract void windowDeiconified (WindowEvent e); public abstract void windowIconified (WindowEvent e); public abstract void windowOpened (WindowEvent e); }
The event that occurred.
Notifies the WindowListener that a window has been activated.
The event that occurred.
Notifies the WindowListener that a window has closed.
The event that occurred.
Notifies the WindowListener that a window is closing.
The event that occurred.
Notifies the WindowListener that a window has been deactivated.
The event that occurred.
Notifies the WindowListener that a window has been restored from an iconified state.
The event that occurred.
Notifies the WindowListener that a window has iconified (minimized).
The event that occurred.
Notifies the WindowListener that a window has opened.
AWTEventMulticaster, EventListener, Window, WindowAdapter, WindowEvent