event handling

[programming] Watching for events that are broadcast by another class, and taking action when they occur.