10.4. Looking at a CellList

CellList is probably the second simplest of the cell widgets, after CellWidget, because it holds a list of cells all of the same type. Figure 10.11 shows the CellList of photo cells that we’ll use in this section’s example (which you can find in the com.manning.gwtia.ch10.client.celllist package).

Figure 10.11. A simple CellList containing a list of photo cells

Because CellList is so simple, it gives us a good opportunity to look at how you create one, several ways to populate it, and the concept of paging.

10.4.1. Creating a CellList

Creating a CellList is done by passing the type of cell that the list will hold ...

Get GWT in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.