charva.awt.event
Class AWTEvent
java.util.EventObject
charva.awt.event.AWTEvent
public abstract class AWTEvent
extends java.util.EventObject
This is the base class for all the CHARVA user-interface events.
It encapsulates information about the event.
AWTEvent(Object source_, int id_) - Construct an event with the specified source and ID.
|
ACTION_PERFORMED
public static final int ACTION_PERFORMED
ADJUSTMENT_EVENT
public static final int ADJUSTMENT_EVENT
FOCUS_GAINED
public static final int FOCUS_GAINED
FOCUS_LOST
public static final int FOCUS_LOST
GARBAGE_COLLECTION
public static final int GARBAGE_COLLECTION
INVOCATION_EVENT
public static final int INVOCATION_EVENT
ITEM_STATE_CHANGED
public static final int ITEM_STATE_CHANGED
KEY_PRESSED
public static final int KEY_PRESSED
We may define other event types later.
KEY_TYPED
public static final int KEY_TYPED
LIST_SELECTION
public static final int LIST_SELECTION
MOUSE_EVENT
public static final int MOUSE_EVENT
PAINT_EVENT
public static final int PAINT_EVENT
RESERVED_ID_MAX
public static final int RESERVED_ID_MAX
Users can define their own events as long as the ID is greater
than RESERVED_ID_MAX.
SCROLL_EVENT
public static final int SCROLL_EVENT
SYNC_EVENT
public static final int SYNC_EVENT
WINDOW_CLOSING
public static final int WINDOW_CLOSING
WINDOW_OPENED
public static final int WINDOW_OPENED
AWTEvent
public AWTEvent(Object source_,
int id_)
Construct an event with the specified source and ID.
source_
- The component that emitted this event.id_
- Identifies the event type.