Search in sources :

Example 1 with SimpleContainer

use of com.sencha.gxt.widget.core.client.container.SimpleContainer in project mvp4g2-examples by mvp4g.

the class ListView method createView.

@Override
public void createView() {
    this.container = new SimpleContainer();
    this.createStore();
    this.createGrid();
    this.container.add(this.grid);
}
Also used : SimpleContainer(com.sencha.gxt.widget.core.client.container.SimpleContainer)

Example 2 with SimpleContainer

use of com.sencha.gxt.widget.core.client.container.SimpleContainer in project mvp4g2-examples by mvp4g.

the class ShellView method createView.

public void createView() {
    this.viewport = new Viewport();
    this.shell = new BorderLayoutContainer();
    viewport.add(this.shell);
    this.northContainer = createContentPanel();
    BorderLayoutContainer.BorderLayoutData bldNorth = new BorderLayoutContainer.BorderLayoutData(.4);
    bldNorth.setCollapsible(true);
    bldNorth.setSplit(true);
    this.shell.setNorthWidget(this.northContainer, bldNorth);
    this.southContainer = createContentPanel();
    BorderLayoutContainer.BorderLayoutData bldSouth = new BorderLayoutContainer.BorderLayoutData(36);
    this.shell.setSouthWidget(this.southContainer, bldSouth);
    this.centerContainer = new SimpleContainer();
    this.shell.setCenterWidget(this.centerContainer);
}
Also used : Viewport(com.sencha.gxt.widget.core.client.container.Viewport) BorderLayoutContainer(com.sencha.gxt.widget.core.client.container.BorderLayoutContainer) SimpleContainer(com.sencha.gxt.widget.core.client.container.SimpleContainer)

Example 3 with SimpleContainer

use of com.sencha.gxt.widget.core.client.container.SimpleContainer in project mvp4g2-examples by mvp4g.

the class StatusView method createView.

public void createView() {
    this.container = new SimpleContainer();
    this.container.getElement().getStyle().setProperty("borderTop", themeDetails.borderColor() + " 1px solid");
    this.label = new Label("loading ...");
    this.label.getElement().getStyle().setProperty("fontSize", "24px");
    this.label.getElement().getStyle().setProperty("fontFamily", themeDetails.panel().font().family());
    this.label.getElement().getStyle().setProperty("color", themeDetails.borderColor());
    this.container.add(this.label, new MarginData(6));
}
Also used : MarginData(com.sencha.gxt.widget.core.client.container.MarginData) Label(com.google.gwt.user.client.ui.Label) SimpleContainer(com.sencha.gxt.widget.core.client.container.SimpleContainer)

Aggregations

SimpleContainer (com.sencha.gxt.widget.core.client.container.SimpleContainer)3 Label (com.google.gwt.user.client.ui.Label)1 BorderLayoutContainer (com.sencha.gxt.widget.core.client.container.BorderLayoutContainer)1 MarginData (com.sencha.gxt.widget.core.client.container.MarginData)1 Viewport (com.sencha.gxt.widget.core.client.container.Viewport)1