charva.awt.event

Class WindowEvent


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.

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

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

Constructor Details

WindowEvent

public WindowEvent(Window source_,
                   int id_)

Method Details

getWindow

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