Make a listBox with table titles instead of the flexTable demo.
[online-glom:gwt-glom.git] / src / org / glom / web / client / GlomDocument.java
1 package org.glom.web.client;
2
3 import java.io.Serializable;
4
5 @SuppressWarnings("serial")
6 public class GlomDocument implements Serializable {
7         private String title;
8         private int defaultTable;
9         private GlomTable[] tables;
10
11         public GlomDocument() {
12         }
13         public String getTitle() {
14                 return title;
15         }
16         public void setTitle(String name) {
17                 this.title = name;
18         }
19         public int getDefaultTable() {
20                 return defaultTable;
21         }
22         public void setDefaultTable(int defaultTable) {
23                 this.defaultTable = defaultTable;
24         }
25         public void setTableNames(GlomTable[] tables) {
26                 this.tables = tables;
27         }
28         public GlomTable[] getTables() {
29                 return tables;
30         }
31 }