Search in sources :

Example 11 with BorderLayoutData

use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.

the class PivotTableEditor method createGridContainer.

private void createGridContainer() {
    center = new LayoutContainer();
    center.setLayout(new BorderLayout());
    add(center, new BorderLayoutData(Style.LayoutRegion.CENTER));
    gridPanel = new PivotGridPanel(service);
    gridPanel.setHeaderVisible(true);
    gridPanel.setHeadingText(I18N.CONSTANTS.preview());
    center.add(gridPanel, new BorderLayoutData(Style.LayoutRegion.CENTER));
    viewBinder = new PivotTableBinder(eventBus, service, gridPanel);
}
Also used : BorderLayout(com.extjs.gxt.ui.client.widget.layout.BorderLayout) PivotGridPanel(org.activityinfo.ui.client.component.report.view.PivotGridPanel) LayoutContainer(com.extjs.gxt.ui.client.widget.LayoutContainer) BorderLayoutData(com.extjs.gxt.ui.client.widget.layout.BorderLayoutData)

Example 12 with BorderLayoutData

use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.

the class PivotTableEditor method createPane.

private void createPane() {
    pivotPanel = new PivotTrayPanel(eventBus, service);
    BorderLayoutData east = new BorderLayoutData(Style.LayoutRegion.EAST);
    east.setCollapsible(true);
    east.setSplit(true);
    east.setMargins(new Margins(0, 5, 0, 0));
    add(pivotPanel, east);
}
Also used : BorderLayoutData(com.extjs.gxt.ui.client.widget.layout.BorderLayoutData) Margins(com.extjs.gxt.ui.client.util.Margins)

Example 13 with BorderLayoutData

use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.

the class PivotTableEditor method createFilterPane.

private void createFilterPane() {
    filterPane = new PivotFilterPanel(eventBus, service, locator);
    filterPane.applyBaseFilter(new Filter());
    BorderLayoutData west = new BorderLayoutData(Style.LayoutRegion.WEST);
    west.setMinSize(250);
    west.setSize(250);
    west.setCollapsible(true);
    west.setSplit(true);
    west.setMargins(new Margins(0, 0, 0, 0));
    add(filterPane, west);
}
Also used : PivotFilterPanel(org.activityinfo.ui.client.component.report.editor.chart.PivotFilterPanel) Filter(org.activityinfo.legacy.shared.command.Filter) BorderLayoutData(com.extjs.gxt.ui.client.widget.layout.BorderLayoutData) Margins(com.extjs.gxt.ui.client.util.Margins)

Example 14 with BorderLayoutData

use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.

the class AppFrameSet method setupStatus.

private void setupStatus() {
    BorderLayoutData layout = new BorderLayoutData(LayoutRegion.SOUTH);
    layout.setSize(SyncStatusBar.HEIGHT);
    viewport.add(statusBar, layout);
}
Also used : BorderLayoutData(com.extjs.gxt.ui.client.widget.layout.BorderLayoutData)

Example 15 with BorderLayoutData

use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.

the class LocationDialog method addMap.

private void addMap() {
    LocationMap mapView = new LocationMap(searchPresenter, newLocationPresenter);
    add(mapView, new BorderLayoutData(LayoutRegion.CENTER));
}
Also used : BorderLayoutData(com.extjs.gxt.ui.client.widget.layout.BorderLayoutData)

Aggregations

BorderLayoutData (com.extjs.gxt.ui.client.widget.layout.BorderLayoutData)22 Margins (com.extjs.gxt.ui.client.util.Margins)7 BorderLayout (com.extjs.gxt.ui.client.widget.layout.BorderLayout)4 ContentPanel (com.extjs.gxt.ui.client.widget.ContentPanel)2 LayoutContainer (com.extjs.gxt.ui.client.widget.LayoutContainer)2 FitLayout (com.extjs.gxt.ui.client.widget.layout.FitLayout)2 PivotGridPanel (org.activityinfo.ui.client.component.report.view.PivotGridPanel)2 ModelData (com.extjs.gxt.ui.client.data.ModelData)1 ListStore (com.extjs.gxt.ui.client.store.ListStore)1 TreeStore (com.extjs.gxt.ui.client.store.TreeStore)1 Button (com.extjs.gxt.ui.client.widget.button.Button)1 GridSelectionModel (com.extjs.gxt.ui.client.widget.grid.GridSelectionModel)1 FlowLayout (com.extjs.gxt.ui.client.widget.layout.FlowLayout)1 QuickTip (com.extjs.gxt.ui.client.widget.tips.QuickTip)1 AbstractImagePrototype (com.google.gwt.user.client.ui.AbstractImagePrototype)1 Filter (org.activityinfo.legacy.shared.command.Filter)1 SiteDTO (org.activityinfo.legacy.shared.model.SiteDTO)1 TargetDTO (org.activityinfo.legacy.shared.model.TargetDTO)1 PivotFilterPanel (org.activityinfo.ui.client.component.report.editor.chart.PivotFilterPanel)1 ChartOFCView (org.activityinfo.ui.client.component.report.view.ChartOFCView)1