Trace:
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
jvx:client:model:databookbuilder [2020/06/15 10:13] cduncan |
jvx:client:model:databookbuilder [2020/07/08 17:39] (current) cduncan articles |
||
---|---|---|---|
Line 2: | Line 2: | ||
~~NOTRANS~~ | ~~NOTRANS~~ | ||
- | JVx has one model for all controls. It's called Data Book. We have implementations for memory and database organized databooks. A databook is like a table (with columns and rows). It needs column definitions to work properly. | + | JVx has one model for all controls. It's called DataBook. We have implementations for memory and database organized databooks. A databook is like a table (with columns and rows). It needs column definitions to work properly. |
If you have simple string arrays or key/value pairs and want to create a databook, you could use the DataBookBuilder. It supports creating memory organized databooks with lists, maps, and arrays. | If you have simple string arrays or key/value pairs and want to create a databook, you could use the DataBookBuilder. It supports creating memory organized databooks with lists, maps, and arrays. | ||
- | If you have an array of strings, simply create a databook with following code: | + | If you have an array of strings, simply create a databook with the following code: |
<file java> | <file java> |