List
- List can be single-select or multiple-select
- When item is selected, event id is LIST_SELECT
- When item is deselected, event id is LIST_DESELECT
handleEvent()
in Component does not handle these events
- Need a custom
handleEvent()
instead
- Clean solution defines a new class SelectList with new constructors,
overridden
handleEvent()
and new methods selected()
and
deselected()
Slide 35