Search in sources :

Example 1 with PlainTabPanel

use of com.sencha.gxt.widget.core.client.PlainTabPanel 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);
}
Also used : PlainTabPanel(com.sencha.gxt.widget.core.client.PlainTabPanel) TabItemConfig(com.sencha.gxt.widget.core.client.TabItemConfig) HTML(com.google.gwt.user.client.ui.HTML) ContentPanel(com.sencha.gxt.widget.core.client.ContentPanel)

Aggregations

HTML (com.google.gwt.user.client.ui.HTML)1 ContentPanel (com.sencha.gxt.widget.core.client.ContentPanel)1 PlainTabPanel (com.sencha.gxt.widget.core.client.PlainTabPanel)1 TabItemConfig (com.sencha.gxt.widget.core.client.TabItemConfig)1