1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common.ui.client.application;
17
18 import org.kuali.student.common.ui.client.configurable.mvc.LayoutController;
19 import org.kuali.student.common.ui.client.widgets.containers.KSWrapper;
20
21 import com.google.gwt.user.client.ui.Composite;
22 import com.google.gwt.user.client.ui.Panel;
23 import com.google.gwt.user.client.ui.SimplePanel;
24 import com.google.gwt.user.client.ui.VerticalPanel;
25 import com.google.gwt.user.client.ui.Widget;
26
27
28
29
30
31
32
33 @Deprecated
34 public class ApplicationComposite extends Composite {
35 private final Panel body = new VerticalPanel();
36
37 private final KSWrapper headerFooterContainer = new KSWrapper();
38 private final SimplePanel content = new SimplePanel();
39
40 public ApplicationComposite() {
41 super.initWidget(body);
42
43 headerFooterContainer.setContent(content);
44 body.add(headerFooterContainer);
45
46 super.addStyleName("KS-Application");
47 content.addStyleName("KS-Application-Content");
48 }
49
50 public void setContent(Widget w) {
51 content.setWidget(w);
52 }
53
54 public Widget getContent() {
55 return content.getWidget();
56 }
57
58 }