use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.
the class ChartEditor method createGridPane.
private void createGridPane() {
BorderLayoutData south = new BorderLayoutData(Style.LayoutRegion.SOUTH, 0.30f);
south.setCollapsible(true);
south.setSplit(true);
south.setMargins(new Margins(5, 0, 0, 0));
gridPanel = new PivotGridPanel(dispatcher);
gridPanel.setHeadingText("Table");
chartView.bindTable(gridPanel);
center.add(gridPanel, south);
}
use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.
the class ChartEditor method createWest.
private void createWest() {
filterPane = new PivotFilterPanel(eventBus, dispatcher, locator);
BorderLayoutData west = new BorderLayoutData(Style.LayoutRegion.WEST, 0.30f);
west.setCollapsible(true);
west.setSplit(true);
west.setMargins(new Margins(0, 5, 0, 0));
add(filterPane, west);
}
use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.
the class AppFrameSet method setWidget.
public void setWidget(Widget widget) {
if (activeWidget != null) {
viewport.remove(activeWidget);
}
viewport.add(widget, new BorderLayoutData(LayoutRegion.CENTER));
activeWidget = widget;
viewport.layout();
}
use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.
the class AppFrameSet method setupTabs.
private void setupTabs() {
appBar.getSectionTabStrip().addSelectionHandler(new SelectionHandler<Section>() {
@Override
public void onSelection(SelectionEvent<Section> event) {
onSectionClicked(event.getSelectedItem());
}
});
eventBus.addListener(NavigationHandler.NAVIGATION_AGREED, new Listener<NavigationEvent>() {
@Override
public void handleEvent(NavigationEvent event) {
appBar.getSectionTabStrip().setSelection(event.getPlace().getSection());
}
});
BorderLayoutData layout = new BorderLayoutData(LayoutRegion.NORTH);
layout.setSize(AppBar.HEIGHT);
viewport.add(appBar, layout);
}
use of com.extjs.gxt.ui.client.widget.layout.BorderLayoutData in project activityinfo by bedatadriven.
the class DbTargetGrid method createTargetValueContainer.
@Override
public void createTargetValueContainer(Widget w) {
targetValueContainer = new ContentPanel();
targetValueContainer.setHeaderVisible(false);
targetValueContainer.setBorders(false);
targetValueContainer.setFrame(false);
targetValueContainer.setLayout(new FitLayout());
BorderLayoutData layout = new BorderLayoutData(Style.LayoutRegion.SOUTH);
layout.setSplit(true);
layout.setCollapsible(true);
layout.setSize(250);
layout.setMargins(new Margins(5, 0, 0, 0));
targetValueContainer.add(w);
add(targetValueContainer, layout);
}
Aggregations