WindowEventNameWindowEvent
DescriptionWindow events are generated when a window is opened, closed, iconified, or deiconified. Class Definition
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(); } ConstantsWINDOW_ACTIVATEDpublic final static int WINDOW_ACTIVATEDEvent type ID indicating the window has been activated, brought to the foreground. WINDOW_CLOSEDpublic final static int WINDOW_CLOSEDEvent type ID indicating the window has closed. WINDOW_CLOSINGpublic final static int WINDOW_CLOSINGEvent type ID indicating the window is closing. WINDOW_DEACTIVATEDpublic final static int WINDOW_DEACTIVATEDEvent type ID indicating the window has been deactivated, placed in the background. WINDOW_DEICONIFIEDpublic final static int WINDOW_DEICONIFIEDEvent type ID indicating the window has been restored from an iconified state. WINDOW_FIRSTpublic final static int WINDOW_FIRSTSpecifies the beginning range of window event ID values. WINDOW_ICONIFIEDpublic final static int WINDOW_ICONIFIEDEvent type ID indicating the window has been iconified (minimized). WINDOW_LASTpublic final static int WINDOW_LASTSpecifies the ending range of window event ID values. WINDOW_OPENEDpublic final static int WINDOW_OPENEDEvent type ID indicating the window has opened. ConstructorsWindowEventpublic WindowEvent (Window source, int id)
Instance MethodsgetWindowpublic Window getWindow()
paramStringpublic String paramString()
See AlsoComponentEvent, Window, WindowAdapter, WindowListener |
|