Search in sources :

Example 6 with WindowEvent

use of com.extjs.gxt.ui.client.event.WindowEvent in project geo-platform by geosdi.

the class FolderPropertiesWidget method setWindowProperties.

@Override
public void setWindowProperties() {
    setHeadingHtml(LayerModuleConstants.INSTANCE.FolderPropertiesWidget_headingText());
    setModal(true);
    setResizable(false);
    setLayout(new FlowLayout());
    setCollapsible(true);
    addWindowListener(new WindowListener() {

        @Override
        public void windowShow(WindowEvent we) {
            foldersTabWidget.bind(model);
        }
    });
}
Also used : WindowListener(com.extjs.gxt.ui.client.event.WindowListener) FlowLayout(com.extjs.gxt.ui.client.widget.layout.FlowLayout) WindowEvent(com.extjs.gxt.ui.client.event.WindowEvent)

Example 7 with WindowEvent

use of com.extjs.gxt.ui.client.event.WindowEvent in project geo-platform by geosdi.

the class ManageUsersPagWidget method setWindowProperties.

@Override
public void setWindowProperties() {
    super.setHeadingHtml(UserModuleConstants.INSTANCE.ManageUsersPagWidget_headingText());
    super.setSize(670, 490);
    super.addWindowListener(new WindowListener() {

        @Override
        public void windowShow(WindowEvent we) {
            searchText = "";
            loader.load(0, getPageSize());
        }
    });
}
Also used : WindowListener(com.extjs.gxt.ui.client.event.WindowListener) WindowEvent(com.extjs.gxt.ui.client.event.WindowEvent)

Aggregations

WindowEvent (com.extjs.gxt.ui.client.event.WindowEvent)7 WindowListener (com.extjs.gxt.ui.client.event.WindowListener)6 FitLayout (com.extjs.gxt.ui.client.widget.layout.FitLayout)2 FlowLayout (com.extjs.gxt.ui.client.widget.layout.FlowLayout)2 ComponentEvent (com.extjs.gxt.ui.client.event.ComponentEvent)1 WidgetListener (com.extjs.gxt.ui.client.event.WidgetListener)1 BorderLayout (com.extjs.gxt.ui.client.widget.layout.BorderLayout)1