Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Gliffy Diagram
sizeL
nameListComponent
alignleft
version1

A description of the List component

The FlexJS List component is fairly complex component compared to such components as Label, TextButton, and even Panel. Originally, the List component started out simply, especially on the JavaScript side, but it is now a more robust component.

...

The following diagram shows how the ActionScript List component is composed.

...

Gliffy Diagram
sizeL
nameListComponent
alignleft
version1

The List contains:

A selection model which encapsulates a data provider as well knowledge about which item is selected (the item and the index).
A view bean that displays the container housing the list control.
A factory bean that can produce instances of item renderers as needed.
An item renderer to display each element of the list; created by the factory bean.
A mouse controller for the list as a whole that handles the selection for the list.
A mouse controller for item renderer to handle the hover and selected states.

...