Trace:
Differences
This shows you the differences between two versions of the page.
jvx:client:model:data:memory [2018/01/31 21:32] admin created |
jvx:client:model:data:memory [2020/06/08 15:20] cduncan |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ~~Title: Displaying Tables without Database~~ | + | ~~Title: Displaying Tables Without Database~~ |
- | IDataBook is required as data container(Model) for the use of tables. In most cases RemoteDataBook is used to provide data from a database table. However, a table does not always exist in the database for which the data is displayed. | + | IDataBook is required as data container(Model) for the use of tables. In most cases, RemoteDataBook is used to provide data from a database table. However, a table does not always exist in the database for which the data is displayed. |
- | In this case MemDataBook can be used, which is an IDataBook implementation that works with data in the main memory. No server connection is necessary, and there is no communication between client and server. | + | In this case, MemDataBook can be used, which is an IDataBook implementation that works with data in the main memory. No server connection is necessary, and there is no communication between client and server. |
== Example == | == Example == | ||
- | We want to create a table that displays all Java System Properties. | + | We want to create a table that displays all Java system properties. |
<file java> | <file java> | ||
Line 48: | Line 48: | ||
</file> | </file> | ||
- | MemDataBook has to be opened before it can be integrated. Before it is opened the desired columns should be defined, since by default there are no columns. | + | MemDataBook has to be opened before it can be integrated. Before it is opened, the desired columns should be defined since, by default, there are no columns. |
Columns are defined as follows: | Columns are defined as follows: |