Search in sources :

Example 11 with FitLayout

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

the class AdminFilterPanel method initializeComponent.

private void initializeComponent() {
    this.setLayout(new FitLayout());
    this.setScrollMode(Style.Scroll.AUTO);
    this.setHeadingText(I18N.CONSTANTS.filterByGeography());
    this.setIcon(IconImageBundle.ICONS.filter());
    loader = new AdminTreeLoader(dispatcher);
    store = new TreeStore<AdminEntityDTO>(loader);
}
Also used : AdminEntityDTO(org.activityinfo.legacy.shared.model.AdminEntityDTO) FitLayout(com.extjs.gxt.ui.client.widget.layout.FitLayout)

Example 12 with FitLayout

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

the class AttributeGroupFilterDialog method initializeComponent.

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

Example 13 with FitLayout

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

the class LockedPeriodGrid method initializeComponent.

private void initializeComponent() {
    setHeadingText(I18N.CONSTANTS.lockPanelTitle());
    setLayout(new FitLayout());
}
Also used : FitLayout(com.extjs.gxt.ui.client.widget.layout.FitLayout)

Example 14 with FitLayout

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

the class FormDialogImpl method initializeComponent.

private void initializeComponent() {
    setModal(true);
    setLayout(new FitLayout());
    setModal(true);
    setClosable(false);
    setBodyStyle("padding: 5px;");
    setLayout(new FitLayout());
}
Also used : 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