new class java.awt.EventObject is parent of all events, including those for AWT, java.awt.AWTEvent. |
Every event has a source object, obtained by getSource() and a type value, obtained by getID().
|
Event subclasses also have methods for whatever data is needed to handle the event.
|