Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

New container: MockupContainer

Risto Yrjänä
1 decade ago Mar 26, 2010 2:15pm

I created a new Container implementation, MockupContainer.

MockupContainer is a container that implements Container.Indexed and Container.Hierarchical. The contents of the container are generated at runtime, and can be customized. The container allows some parametrisation: item count, property count, number of children and the delay can easily be changed. The delay affects the time it takes to retrieve items, or item related attributes (such as the parent and children of an item).

MockupContainer could be used for example in UI-mockups, or for testing components that use a datasource.

Sources and jar, and an online demo.

Joonas Lehtinen
1 decade ago Mar 27, 2010 10:10pm
Jens Jansson
1 decade ago Mar 28, 2010 8:10pm
Risto Yrjänä
1 decade ago Mar 29, 2010 6:46am
Risto Yrjänä
1 decade ago Jun 26, 2011 12:18pm