charva.awt.event
public abstract class AWTEvent extends java.util.EventObject
Modifier and Type | Field and Description |
---|---|
static int |
ACTION_PERFORMED |
static int |
ADJUSTMENT_EVENT |
static int |
FOCUS_GAINED |
static int |
FOCUS_LOST |
static int |
GARBAGE_COLLECTION |
static int |
INVOCATION_EVENT |
static int |
ITEM_STATE_CHANGED |
static int |
KEY_PRESSED
We may define other event types later.
|
static int |
KEY_TYPED |
static int |
LIST_SELECTION |
static int |
MOUSE_EVENT |
static int |
PAINT_EVENT |
static int |
RESERVED_ID_MAX
Users can define their own events as long as the ID is greater
than RESERVED_ID_MAX.
|
static int |
SCROLL_EVENT |
static int |
SYNC_EVENT |
static int |
WINDOW_CLOSING |
static int |
WINDOW_OPENED |
Constructor and Description |
---|
AWTEvent(java.lang.Object source_,
int id_)
Construct an event with the specified source and ID.
|
Modifier and Type | Method and Description |
---|---|
int |
getID() |
public static final int KEY_PRESSED
public static final int KEY_TYPED
public static final int WINDOW_CLOSING
public static final int WINDOW_OPENED
public static final int ACTION_PERFORMED
public static final int FOCUS_LOST
public static final int FOCUS_GAINED
public static final int ITEM_STATE_CHANGED
public static final int PAINT_EVENT
public static final int SYNC_EVENT
public static final int ADJUSTMENT_EVENT
public static final int SCROLL_EVENT
public static final int LIST_SELECTION
public static final int GARBAGE_COLLECTION
public static final int INVOCATION_EVENT
public static final int MOUSE_EVENT
public static final int RESERVED_ID_MAX