java.awt
Class Event
public
class
Event
extends Object
implements Serializable
Written using on-line Java Platform 1.2 API Specification, as well
as "The Java Class Libraries", 2nd edition (Addison-Wesley, 1998).
Status: Believed complete and correct.
Constructor Summary |
| Event(Object target, int id, Object arg) |
| Event(Object target, long when, int id, int x, int y, int key, int modifiers) |
| Event(Object target, long when, int id, int x, int y, int key, int modifiers, Object arg) |
public static final int ACTION_EVENT
public static final int ALT_MASK
public static final int BACK_SPACE
public int clickCount
public static final int CAPS_LOCK
public static final int CTRL_MASK
public static final int DELETE
public static final int DOWN
public static final int END
public static final int ENTER
public static final int ESCAPE
public static final int F1
public static final int F10
public static final int F11
public static final int F12
public static final int F2
public static final int F3
public static final int F4
public static final int F5
public static final int F6
public static final int F7
public static final int F8
public static final int F9
public static final int GOT_FOCUS
public static final int HOME
public int id
public static final int INSERT
public int key
public static final int KEY_ACTION
public static final int KEY_ACTION_RELEASE
public static final int KEY_PRESS
public static final int KEY_RELEASE
public static final int LEFT
public static final int LIST_DESELECT
public static final int LIST_SELECT
public static final int LOAD_FILE
public static final int LOST_FOCUS
public int modifiers
public static final int META_MASK
public static final int MOUSE_DOWN
public static final int MOUSE_DRAG
public static final int MOUSE_ENTER
public static final int MOUSE_EXIT
public static final int MOUSE_MOVE
public static final int MOUSE_UP
public static final int NUM_LOCK
public static final int PAUSE
public static final int PGDN
public static final int PGUP
public static final int PRINT_SCREEN
public static final int RIGHT
public static final int SAVE_FILE
public static final int SCROLL_ABSOLUTE
public static final int SCROLL_BEGIN
public static final int SCROLL_END
public static final int SCROLL_LINE_DOWN
public static final int SCROLL_LINE_UP
public static final int SCROLL_LOCK
public static final int SCROLL_PAGE_DOWN
public static final int SCROLL_PAGE_UP
public static final int SHIFT_MASK
public static final int TAB
public static final int UP
public long when
public static final int WINDOW_DEICONIFY
public static final int WINDOW_DESTROY
public static final int WINDOW_EXPOSE
public static final int WINDOW_ICONIFY
public static final int WINDOW_MOVED
public int x
public int y
public Event(
Object target, long when, int id, int x, int y, int key, int modifiers)
public Event(
Object target, long when, int id, int x, int y, int key, int modifiers,
Object arg)
public boolean controlDown()
public boolean metaDown()
protected
String paramString()
public boolean shiftDown()
public void translate(int x, int y)