Sub type ID

Some event classes also contain an "id" (unique within that class)

(Example: the MOUSE_PRESSED constant in the MouseEvent class.

MouseEvent is a true event type while MOUSE_PRESSED is a sub type of MouseEvent.

The MouseListener interface declares a corresponding method named mousePressed.)

File: cw.htm [Next] [Prev]