Window events are generated when a window is opened, closed, iconified, or deiconified.
public class java.awt.event.WindowEvent extends java.awt.event.ComponentEvent { // Constants public final static int WINDOW_ACTIVATED; public final static int WINDOW_CLOSED; public final static int WINDOW_CLOSING; public final static int WINDOW_DEACTIVATED; public final static int WINDOW_DEICONIFIED; public final static int WINDOW_FIRST; public final static int WINDOW_ICONIFIED; public final static int WINDOW_LAST; public final static int WINDOW_OPENED; // Constructors public WindowEvent (Window source, int id); // Instance Methods public Window getWindow(); public String paramString(); }
Event type ID indicating the window has been activated, brought to the foreground.
Event type ID indicating the window has closed.
Event type ID indicating the window is closing.
Event type ID indicating the window has been deactivated, placed in the background.
Event type ID indicating the window has been restored from an iconified state.
Specifies the beginning range of window event ID values.
Event type ID indicating the window has been iconified (minimized).
Specifies the ending range of window event ID values.
Event type ID indicating the window has opened.
The object that generated the event.
The event type ID of the event.
Constructs a WindowEvent with the given characteristics.
The window that generated this event.
String with current settings of the WindowEvent.
ComponentEvent.paramString()
Helper method for toString() to generate string of current settings.
ComponentEvent, Window, WindowAdapter, WindowListener
This HTML Help has been published using the chm2web software. |