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_CLOSED
- The window closed event type.
-
WINDOW_CLOSING
- The window closing 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(Event)
- Constructs a WindowEvent object from the parameters of a 1.0-style event.
-
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 final static int WINDOW_FIRST
- Marks the first integer id for the range of window event ids.
WINDOW_LAST
public final static int WINDOW_LAST
- Marks the last integer id for the range of window event ids.
WINDOW_OPENED
public final static int WINDOW_OPENED
- The window opened event type.
WINDOW_CLOSING
public final static int WINDOW_CLOSING
- The window closing event type.
WINDOW_CLOSED
public final static int WINDOW_CLOSED
- The window closed event type.
WINDOW_ICONIFIED
public final static int WINDOW_ICONIFIED
- The window iconified event type.
WINDOW_DEICONIFIED
public final static int WINDOW_DEICONIFIED
- The window deiconified event type.
WindowEvent
public WindowEvent(Event event)
- Constructs a WindowEvent object from the parameters of a 1.0-style event.
- Parameters:
- event - the old-style event
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