/
TopComposite.js
43 lines (37 loc) · 1.11 KB
/
TopComposite.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* ************************************************************************
Copyright:
2012 Tomek Kuprowski
License:
GPLv2: http://www.gnu.org/licences/gpl.html
Authors:
Tomek Kuprowski (tomekkuprowski at gmail dot com)
************************************************************************ */
qx.Class.define("helenos.components.TopComposite",
{
extend : qx.ui.container.Composite,
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
construct : function()
{
this.base(arguments);
this.set({
layout : new qx.ui.layout.VBox()
});
this.add(this.__getHeader());
this.add(this.__getMainContainer(), {
flex : 1
});
},
members :
{
__getHeader : function() {
return new helenos.components.Header();
},
__getMainContainer : function() {
return new helenos.components.MainPane();
}
}
});