All Packages Class Hierarchy This Package Previous Next Index
Class java.awt.event.WindowEvent
java.lang.Object
|
+----java.util.EventObject
|
+----java.awt.AWTEvent
|
+----java.awt.event.ComponentEvent
|
+----java.awt.event.WindowEvent
- public class WindowEvent
- extends ComponentEvent
The window-level event.
-
WINDOW_ACTIVATED
- The window activated event type.
-
WINDOW_CLOSED
- The window closed event type.
-
WINDOW_CLOSING
- The window closing event type.
-
WINDOW_DEACTIVATED
- The window deactivated event type.
-
WINDOW_DEICONIFIED
- The window deiconified event type.
-
WINDOW_FIRST
- Marks the first integer id for the range of window event ids.
-
WINDOW_ICONIFIED
- The window iconified event type.
-
WINDOW_LAST
- Marks the last integer id for the range of window event ids.
-
WINDOW_OPENED
- The window opened event type.
-
WindowEvent(Window, int)
- Constructs a WindowEvent object with the specified source window
and type.
-
getWindow()
- Returns the window where this event originated.
-
paramString()
-
WINDOW_FIRST
public static final int WINDOW_FIRST
- Marks the first integer id for the range of window event ids.
WINDOW_LAST
public static final int WINDOW_LAST
- Marks the last integer id for the range of window event ids.
WINDOW_OPENED
public static final int WINDOW_OPENED
- The window opened event type. This event is delivered only
the first time a window is made visible.
WINDOW_CLOSING
public static final int WINDOW_CLOSING
- The window closing event type. This event is delivered when
the user selects "Quit" from the window's system menu. If
the program does not explicitly hide or destroy the window as
a result of this event, the window close operation will be
cancelled.
WINDOW_CLOSED
public static final int WINDOW_CLOSED
- The window closed event type. This event is delivered after
the window has been closed as the result of a call to hide or
destroy.
WINDOW_ICONIFIED
public static final int WINDOW_ICONIFIED
- The window iconified event type.
WINDOW_DEICONIFIED
public static final int WINDOW_DEICONIFIED
- The window deiconified event type.
WINDOW_ACTIVATED
public static final int WINDOW_ACTIVATED
- The window activated event type.
WINDOW_DEACTIVATED
public static final int WINDOW_DEACTIVATED
- The window deactivated event type.
WindowEvent
public WindowEvent(Window source,
int id)
- Constructs a WindowEvent object with the specified source window
and type.
- Parameters:
- source - the component where the event originated
getWindow
public Window getWindow()
- Returns the window where this event originated.
paramString
public String paramString()
- Overrides:
- paramString in class ComponentEvent
All Packages Class Hierarchy This Package Previous Next Index
Submit a bug or feature - Version 1.1.8 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1995-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.