Search in sources :

Example 1 with FitLayout

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

the class PartnerFilterPanel method initializeComponent.

private void initializeComponent() {
    setHeadingText(I18N.CONSTANTS.filterByPartner());
    setIcon(IconImageBundle.ICONS.filter());
    setLayout(new FitLayout());
    setScrollMode(Style.Scroll.NONE);
    setHeadingText(I18N.CONSTANTS.filterByPartner());
    setIcon(IconImageBundle.ICONS.filter());
}
Also used : FitLayout(com.extjs.gxt.ui.client.widget.layout.FitLayout)

Example 2 with FitLayout

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

the class PartnerFilterDialog method initializeComponent.

private void initializeComponent() {
    setHeadingText(I18N.CONSTANTS.filterByPartner());
    setIcon(IconImageBundle.ICONS.filter());
    setWidth(250);
    setHeight(350);
    setLayout(new FitLayout());
    setScrollMode(Style.Scroll.NONE);
    setHeadingText(I18N.CONSTANTS.filterByPartner());
    setIcon(IconImageBundle.ICONS.filter());
}
Also used : FitLayout(com.extjs.gxt.ui.client.widget.layout.FitLayout)

Example 3 with FitLayout

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

the class BaseMapDialog method initializeComponent.

private void initializeComponent() {
    setWidth(675);
    setHeight(400);
    setHeadingText(I18N.CONSTANTS.basemap());
    setLayout(new FitLayout());
    addStyleName("basemap-dlg");
    setBodyBorder(false);
}
Also used : FitLayout(com.extjs.gxt.ui.client.widget.layout.FitLayout)

Example 4 with FitLayout

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

the class DrillDownEditor method createDialog.

private void createDialog() {
    proxy = new DrillDownProxy(dispatcher);
    store = new ListStore<>(new BaseListLoader(proxy));
    grid = new Grid<>(store, buildColumnModel());
    grid.setLoadMask(true);
    dialog = new Dialog();
    dialog.setHeadingText(I18N.CONSTANTS.sites());
    dialog.setButtons(Dialog.CLOSE);
    dialog.setLayout(new FitLayout());
    dialog.setSize(WIDTH, HEIGHT);
    dialog.add(grid);
    dialog.addListener(Events.Move, new Listener<BaseEvent>() {

        @Override
        public void handleEvent(BaseEvent baseEvent) {
            left = -1;
            top = -1;
        }
    });
}
Also used : Dialog(com.extjs.gxt.ui.client.widget.Dialog) BaseEvent(com.extjs.gxt.ui.client.event.BaseEvent) BaseListLoader(com.extjs.gxt.ui.client.data.BaseListLoader) FitLayout(com.extjs.gxt.ui.client.widget.layout.FitLayout)

Example 5 with FitLayout

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

the class DbProjectGrid method createGridAndAddToContainer.

@Override
protected Grid<ProjectDTO> createGridAndAddToContainer(Store store) {
    grid = new Grid<ProjectDTO>((ListStore) store, createColumnModel());
    grid.setAutoExpandColumn("description");
    grid.setLoadMask(true);
    setLayout(new FitLayout());
    add(grid);
    return grid;
}
Also used : ProjectDTO(org.activityinfo.legacy.shared.model.ProjectDTO) ListStore(com.extjs.gxt.ui.client.store.ListStore) FitLayout(com.extjs.gxt.ui.client.widget.layout.FitLayout)

Aggregations

FitLayout (com.extjs.gxt.ui.client.widget.layout.FitLayout)14 BaseEvent (com.extjs.gxt.ui.client.event.BaseEvent)2 BorderLayoutData (com.extjs.gxt.ui.client.widget.layout.BorderLayoutData)2 BaseListLoader (com.extjs.gxt.ui.client.data.BaseListLoader)1 ListStore (com.extjs.gxt.ui.client.store.ListStore)1 Margins (com.extjs.gxt.ui.client.util.Margins)1 ContentPanel (com.extjs.gxt.ui.client.widget.ContentPanel)1 Dialog (com.extjs.gxt.ui.client.widget.Dialog)1 FormPanel (com.extjs.gxt.ui.client.widget.form.FormPanel)1 Radio (com.extjs.gxt.ui.client.widget.form.Radio)1 RadioGroup (com.extjs.gxt.ui.client.widget.form.RadioGroup)1 BorderLayout (com.extjs.gxt.ui.client.widget.layout.BorderLayout)1 AdminEntityDTO (org.activityinfo.legacy.shared.model.AdminEntityDTO)1 ProjectDTO (org.activityinfo.legacy.shared.model.ProjectDTO)1 DefaultColumnModelProvider (org.activityinfo.ui.client.page.entry.column.DefaultColumnModelProvider)1 SiteHistoryTab (org.activityinfo.ui.client.page.entry.sitehistory.SiteHistoryTab)1