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.


Variable Index

 o WINDOW_CLOSED
The window closed event type.
 o WINDOW_CLOSING
The window closing event type.
 o WINDOW_DEICONIFIED
The window deiconified event type.
 o WINDOW_FIRST
Marks the first integer id for the range of window event ids.
 o WINDOW_ICONIFIED
The window iconified event type.
 o WINDOW_LAST
Marks the last integer id for the range of window event ids.
 o WINDOW_OPENED
The window opened event type.

Constructor Index

 o WindowEvent(Event)
Constructs a WindowEvent object from the parameters of a 1.0-style event.
 o WindowEvent(Window, int)
Constructs a WindowEvent object with the specified source window and type.

Method Index

 o getWindow()
Returns the window where this event originated.
 o paramString()

Variables

 o WINDOW_FIRST
  public final static int WINDOW_FIRST
Marks the first integer id for the range of window event ids.

 o WINDOW_LAST
  public final static int WINDOW_LAST
Marks the last integer id for the range of window event ids.

 o WINDOW_OPENED
  public final static int WINDOW_OPENED
The window opened event type.

 o WINDOW_CLOSING
  public final static int WINDOW_CLOSING
The window closing event type.

 o WINDOW_CLOSED
  public final static int WINDOW_CLOSED
The window closed event type.

 o WINDOW_ICONIFIED
  public final static int WINDOW_ICONIFIED
The window iconified event type.

 o WINDOW_DEICONIFIED
  public final static int WINDOW_DEICONIFIED
The window deiconified event type.

Constructors

 o WindowEvent
  public WindowEvent(Event event)
Constructs a WindowEvent object from the parameters of a 1.0-style event.

Parameters:
event - the old-style event
 o 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

Methods

 o getWindow
  public Window getWindow()
Returns the window where this event originated.

 o paramString
  public String paramString()
Overrides:
paramString in class ComponentEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index