Listener Interfaces WithMultiple Methods
Some listener interfaces have multiple methods
- Example: MouseListener
- mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
Often the event handler is interested in only one
What a pain!
- We want one method
- Gotta implement five ???