

Events And Listeners
Source (Observable) |
Listener (Observer) | ||||||
|
interested objects implement<--- the interface and add themselves ---to the source's listeners list
when the user clicks, |
|
|
KeyListener MouseListener MouseMotionListener MouseWheelListener WindowListener more... |
AdjustmentListener ComponentListener ContainerListener FocusListener TextListener more... |
ActionListener ChangeListener DocumentListener ListDataListener PopupMenuListener more... |
|
|
| ||||||
Adapter classes implement Listeners with no-op methods. | ||||||||
|
| |||||||