1
|
package eu.etaxonomy.cdm.vaadin.view.dbstatus;
|
2
|
|
3
|
import com.vaadin.annotations.AutoGenerated;
|
4
|
import com.vaadin.ui.AbsoluteLayout;
|
5
|
import com.vaadin.ui.CustomComponent;
|
6
|
import com.vaadin.ui.Table;
|
7
|
|
8
|
public class DistributionTableView extends CustomComponent{
|
9
|
|
10
|
/*- VaadinEditorProperties={"grid":"RegularGrid,20","showGrid":true,"snapToGrid":true,"snapToObject":true,"movingGuides":false,"snappingDistance":10} */
|
11
|
|
12
|
@AutoGenerated
|
13
|
private AbsoluteLayout mainLayout;
|
14
|
@AutoGenerated
|
15
|
private Table table_1;
|
16
|
/**
|
17
|
* The constructor should first build the main layout, set the
|
18
|
* composition root and then do any custom initialization.
|
19
|
*
|
20
|
* The constructor will not be automatically regenerated by the
|
21
|
* visual editor.
|
22
|
*/
|
23
|
public DistributionTableView() {
|
24
|
buildMainLayout();
|
25
|
setCompositionRoot(mainLayout);
|
26
|
|
27
|
// TODO add user code here
|
28
|
}
|
29
|
|
30
|
@AutoGenerated
|
31
|
private AbsoluteLayout buildMainLayout() {
|
32
|
// common part: create layout
|
33
|
mainLayout = new AbsoluteLayout();
|
34
|
mainLayout.setImmediate(false);
|
35
|
mainLayout.setWidth("100%");
|
36
|
mainLayout.setHeight("100%");
|
37
|
|
38
|
// top-level component properties
|
39
|
setWidth("100.0%");
|
40
|
setHeight("100.0%");
|
41
|
|
42
|
// table_1
|
43
|
table_1 = new Table();
|
44
|
table_1.setImmediate(false);
|
45
|
table_1.setWidth("100.0%");
|
46
|
table_1.setHeight("100.0%");
|
47
|
mainLayout.addComponent(table_1, "top:0.0px;right:0.0px;");
|
48
|
|
49
|
return mainLayout;
|
50
|
}
|
51
|
|
52
|
}
|