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_ACTIVATED
The window activated event type.
 o WINDOW_CLOSED
The window closed event type.
 o WINDOW_CLOSING
The window closing event type.
 o WINDOW_DEACTIVATED
The window deactivated 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(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
Properties Public Constant 
   WINDOW_FIRST=int 
Marks the first integer id for the range of window event ids.

 o WINDOW_LAST
Properties Public Constant 
   WINDOW_LAST=int 
Marks the last integer id for the range of window event ids.

 o WINDOW_OPENED
Properties Public Constant 
   WINDOW_OPENED=int 
The window opened event type. This event is delivered only the first time a window is made visible.

 o WINDOW_CLOSING
Properties Public Constant 
   WINDOW_CLOSING=int 
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.

 o WINDOW_CLOSED
Properties Public Constant 
   WINDOW_CLOSED=int 
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.

 o WINDOW_ICONIFIED
Properties Public Constant 
   WINDOW_ICONIFIED=int 
The window iconified event type.

 o WINDOW_DEICONIFIED
Properties Public Constant 
   WINDOW_DEICONIFIED=int 
The window deiconified event type.

 o WINDOW_ACTIVATED
Properties Public Constant 
   WINDOW_ACTIVATED=int 
The window activated event type.

 o WINDOW_DEACTIVATED
Properties Public Constant 
   WINDOW_DEACTIVATED=int 
The window deactivated event type.

Constructors

 o WindowEvent
    method WindowEvent(source=Window, -
                       id=int) public 
Constructs a WindowEvent object with the specified source window and type.

Parameters:
source - the component where the event originated

Methods

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

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index