use of com.sencha.gxt.widget.core.client.ContentPanel in project activityinfo by bedatadriven.
the class RecordActivity method start.
@Override
public void start(AcceptsOneWidget panel, EventBus eventBus) {
FormInputView formInputView = new FormInputView(formStore, place.getRecordRef());
ContentPanel contentPanel = new ContentPanel();
contentPanel.setHeading("Record");
contentPanel.add(formInputView);
panel.setWidget(contentPanel);
}
use of com.sencha.gxt.widget.core.client.ContentPanel in project mvp4g2-examples by mvp4g.
the class ContentView method createView.
@Override
public void createView() {
this.container = new ContentPanel();
this.container.setHeaderVisible(false);
this.tabPanel = new PlainTabPanel();
this.container.setWidget(this.tabPanel);
this.tabPanel.setTabScroll(true);
this.defaultTabItem = new TabItemConfig("Sample Mail Application");
this.defaultTabItemContent = new HTML("");
this.tabPanel.add(this.defaultTabItemContent, this.defaultTabItem);
}
use of com.sencha.gxt.widget.core.client.ContentPanel in project mvp4g2-examples by mvp4g.
the class DetailView method createView.
@Override
public void createView() {
this.container = new ContentPanel();
this.container.setHeaderVisible(false);
this.container.setBodyStyle("padding: 12px;");
VerticalLayoutContainer vlc = new VerticalLayoutContainer();
this.container.setWidget(vlc);
FieldLabel fl01 = new FieldLabel();
fl01.setText("Sender");
sender = new TextField();
sender.setReadOnly(true);
fl01.setWidget(sender);
vlc.add(fl01, new VerticalLayoutContainer.VerticalLayoutData(1, -1));
FieldLabel fl02 = new FieldLabel();
fl02.setText("Email sender");
emailSender = new TextField();
emailSender.setReadOnly(true);
fl02.setWidget(emailSender);
vlc.add(fl02, new VerticalLayoutContainer.VerticalLayoutData(1, -1));
FieldLabel fl03 = new FieldLabel();
fl03.setText("Text");
VerticalLayoutContainer vlc01 = new VerticalLayoutContainer();
vlc01.setScrollMode(ScrollSupport.ScrollMode.AUTOY);
vlc01.setBorders(true);
body = new HTML();
vlc01.add(body, new VerticalLayoutContainer.VerticalLayoutData(1, 1));
fl03.setWidget(vlc01);
vlc.add(fl03, new VerticalLayoutContainer.VerticalLayoutData(1, 1));
}
use of com.sencha.gxt.widget.core.client.ContentPanel in project mvp4g2-examples by mvp4g.
the class ShellView method createContentPanel.
private ContentPanel createContentPanel() {
ContentPanel cp = new ContentPanel();
cp.setHeaderVisible(false);
return cp;
}
Aggregations