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.
Field Summary
static intACTION_EVENT
static intALT_MASK
Objectarg
static intBACK_SPACE
intclickCount
static intCAPS_LOCK
static intCTRL_MASK
static intDELETE
static intDOWN
Eventevt
static intEND
static intENTER
static intESCAPE
static intF1
static intF10
static intF11
static intF12
static intF2
static intF3
static intF4
static intF5
static intF6
static intF7
static intF8
static intF9
static intGOT_FOCUS
static intHOME
intid
static intINSERT
intkey
static intKEY_ACTION
static intKEY_ACTION_RELEASE
static intKEY_PRESS
static intKEY_RELEASE
static intLEFT
static intLIST_DESELECT
static intLIST_SELECT
static intLOAD_FILE
static intLOST_FOCUS
intmodifiers
static intMETA_MASK
static intMOUSE_DOWN
static intMOUSE_DRAG
static intMOUSE_ENTER
static intMOUSE_EXIT
static intMOUSE_MOVE
static intMOUSE_UP
static intNUM_LOCK
static intPAUSE
static intPGDN
static intPGUP
static intPRINT_SCREEN
static intRIGHT
static intSAVE_FILE
static intSCROLL_ABSOLUTE
static intSCROLL_BEGIN
static intSCROLL_END
static intSCROLL_LINE_DOWN
static intSCROLL_LINE_UP
static intSCROLL_LOCK
static intSCROLL_PAGE_DOWN
static intSCROLL_PAGE_UP
static intSHIFT_MASK
Objecttarget
static intTAB
static intUP
longwhen
static intWINDOW_DEICONIFY
static intWINDOW_DESTROY
static intWINDOW_EXPOSE
static intWINDOW_ICONIFY
static intWINDOW_MOVED
intx
inty
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)
Method Summary
booleancontrolDown()
booleanmetaDown()
protected StringparamString()
booleanshiftDown()
StringtoString()
voidtranslate(int x, int y)

Field Detail

ACTION_EVENT

public static final int ACTION_EVENT

ALT_MASK

public static final int ALT_MASK

arg

public Object arg

BACK_SPACE

public static final int BACK_SPACE

clickCount

public int clickCount

CAPS_LOCK

public static final int CAPS_LOCK

CTRL_MASK

public static final int CTRL_MASK

DELETE

public static final int DELETE

DOWN

public static final int DOWN

evt

public Event evt

END

public static final int END

ENTER

public static final int ENTER

ESCAPE

public static final int ESCAPE

F1

public static final int F1

F10

public static final int F10

F11

public static final int F11

F12

public static final int F12

F2

public static final int F2

F3

public static final int F3

F4

public static final int F4

F5

public static final int F5

F6

public static final int F6

F7

public static final int F7

F8

public static final int F8

F9

public static final int F9

GOT_FOCUS

public static final int GOT_FOCUS

HOME

public static final int HOME

id

public int id

INSERT

public static final int INSERT

key

public int key

KEY_ACTION

public static final int KEY_ACTION

KEY_ACTION_RELEASE

public static final int KEY_ACTION_RELEASE

KEY_PRESS

public static final int KEY_PRESS

KEY_RELEASE

public static final int KEY_RELEASE

LEFT

public static final int LEFT

LIST_DESELECT

public static final int LIST_DESELECT

LIST_SELECT

public static final int LIST_SELECT

LOAD_FILE

public static final int LOAD_FILE

LOST_FOCUS

public static final int LOST_FOCUS

modifiers

public int modifiers

META_MASK

public static final int META_MASK

MOUSE_DOWN

public static final int MOUSE_DOWN

MOUSE_DRAG

public static final int MOUSE_DRAG

MOUSE_ENTER

public static final int MOUSE_ENTER

MOUSE_EXIT

public static final int MOUSE_EXIT

MOUSE_MOVE

public static final int MOUSE_MOVE

MOUSE_UP

public static final int MOUSE_UP

NUM_LOCK

public static final int NUM_LOCK

PAUSE

public static final int PAUSE

PGDN

public static final int PGDN

PGUP

public static final int PGUP

PRINT_SCREEN

public static final int PRINT_SCREEN

RIGHT

public static final int RIGHT

SAVE_FILE

public static final int SAVE_FILE

SCROLL_ABSOLUTE

public static final int SCROLL_ABSOLUTE

SCROLL_BEGIN

public static final int SCROLL_BEGIN

SCROLL_END

public static final int SCROLL_END

SCROLL_LINE_DOWN

public static final int SCROLL_LINE_DOWN

SCROLL_LINE_UP

public static final int SCROLL_LINE_UP

SCROLL_LOCK

public static final int SCROLL_LOCK

SCROLL_PAGE_DOWN

public static final int SCROLL_PAGE_DOWN

SCROLL_PAGE_UP

public static final int SCROLL_PAGE_UP

SHIFT_MASK

public static final int SHIFT_MASK

target

public Object target

TAB

public static final int TAB

UP

public static final int UP

when

public long when

WINDOW_DEICONIFY

public static final int WINDOW_DEICONIFY

WINDOW_DESTROY

public static final int WINDOW_DESTROY

WINDOW_EXPOSE

public static final int WINDOW_EXPOSE

WINDOW_ICONIFY

public static final int WINDOW_ICONIFY

WINDOW_MOVED

public static final int WINDOW_MOVED

x

public int x

y

public int y

Constructor Detail

Event

public Event(Object target, int id, Object arg)

Event

public Event(Object target, long when, int id, int x, int y, int key, int modifiers)

Event

public Event(Object target, long when, int id, int x, int y, int key, int modifiers, Object arg)

Method Detail

controlDown

public boolean controlDown()

metaDown

public boolean metaDown()

paramString

protected String paramString()

shiftDown

public boolean shiftDown()

toString

public String toString()

translate

public void translate(int x, int y)