buoy.event
Class WindowClosingEvent

java.lang.Object
  extended by java.util.EventObject
      extended by java.awt.AWTEvent
          extended by java.awt.event.ComponentEvent
              extended by java.awt.event.WindowEvent
                  extended by buoy.event.WidgetWindowEvent
                      extended by buoy.event.WindowClosingEvent
All Implemented Interfaces:
WidgetEvent, java.io.Serializable

public class WindowClosingEvent
extends WidgetWindowEvent

This event indicates that the user is attempting to close a window, such as by clicking on its close box.

Author:
Peter Eastman
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.awt.event.WindowEvent
WINDOW_ACTIVATED, WINDOW_CLOSED, WINDOW_CLOSING, WINDOW_DEACTIVATED, WINDOW_DEICONIFIED, WINDOW_FIRST, WINDOW_GAINED_FOCUS, WINDOW_ICONIFIED, WINDOW_LAST, WINDOW_LOST_FOCUS, WINDOW_OPENED, WINDOW_STATE_CHANGED
 
Fields inherited from class java.awt.event.ComponentEvent
COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWN
 
Fields inherited from class java.awt.AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK
 
Constructor Summary
WindowClosingEvent(WindowWidget source)
          Create a WindowClosingEvent.
 
Method Summary
 
Methods inherited from class buoy.event.WidgetWindowEvent
getSource, getWidget
 
Methods inherited from class java.awt.event.WindowEvent
getNewState, getOldState, getOppositeWindow, getWindow, paramString
 
Methods inherited from class java.awt.event.ComponentEvent
getComponent
 
Methods inherited from class java.awt.AWTEvent
getID, setSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowClosingEvent

public WindowClosingEvent(WindowWidget source)
Create a WindowClosingEvent.

Parameters:
source - the window to which this event occurred


Written by Peter Eastman.