A container implementation with automatically generated data.

MockupContainer is a container that implements Container.Indexed and Container.Hierarchical. The contents of the container are automatically generated.

The container allows some parametrisation for the generation of the content: item count, property count, number of children and the delay can be easily changed on the fly. The delay affects the time it takes to retrieve items, or item related attributes (such as the parent and children of an item). A factory class is provided for easier testing.

The generated contents can also be specified by the user by implementing a data set interface. DefaultDataSet and BaconDataSet are included in the package as example implementations. (You can enable bacon mode in the demo with the "bacon" parameter.)

MockupContainer could be used for example in creating quick UI-mockups, or for testing any component that uses a datasource.

Install

Link to this version
StableReleased 02 February 2013Apache License 2.0
Framework Support
Vaadin 7.0+
Also supported:
Vaadin 6 (0.7.0)
Browser Independent
Install with
Release notes - Version 2.0

Migrated to Vaadin 7 RC2