In this chapter, we have learned two great parts of many Vaadin applications.
The first part described the three levels of data wrapping in Vaadin:
Property: It represents a simple object such as a
Date. Properties can be tweaked in order to display the encapsulated data the way we really want.
Item: It wraps around a single structured object. We used our
Personclass to show how it could be encapsulated in
Item, and finally displayed in a form. Forms are a nice façade over a single item, whether in a read-only or read-write mode.
Container: It is the final level and lets us wrap around a collection of items. Containers may have additional properties such as filterable, sortable, and hierarchical, each one bringing features to ...