charva.awt.event
Class WindowEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycharva.awt.event.AWTEvent
          extended bycharva.awt.event.WindowEvent
All Implemented Interfaces:
java.io.Serializable

public class WindowEvent
extends AWTEvent

A low-level event which indicates that a Window has changed its status. This event is generated by a Window when it is opened or closed. TODO: Implement WINDOW_OPENED events (are they necessary?). The event is passed to each WindowListener object that is registered to receive such events using the window's addWindowListener method.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class charva.awt.event.AWTEvent
ACTION_PERFORMED, ADJUSTMENT_EVENT, FOCUS_GAINED, FOCUS_LOST, GARBAGE_COLLECTION, INVOCATION_EVENT, ITEM_STATE_CHANGED, KEY_PRESSED, KEY_TYPED, LIST_SELECTION, MOUSE_EVENT, PAINT_EVENT, RESERVED_ID_MAX, SCROLL_EVENT, SYNC_EVENT, WINDOW_CLOSING, WINDOW_OPENED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
WindowEvent(Window source_, int id_)
           
 
Method Summary
 Window getWindow()
          Returns the Window that is changing its state.
 
Methods inherited from class charva.awt.event.AWTEvent
getID
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WindowEvent

public WindowEvent(Window source_,
                   int id_)
Method Detail

getWindow

public Window getWindow()
Returns the Window that is changing its state.