Examples of centerInPage()


Examples of com.smartgwt.client.widgets.Window.centerInPage()

              Window window = new DockableWindow();
              window.setTitle(messages.exportToCsvWindowTitle());
              String content = CONTENT_PRE + messages.exportToCsvContentReady() + CONTENT_POST;
              String linktocsv = messages.exportToCsvDownloadLink(link) + LINK_POST;
              window.addItem(new HTMLFlow(content + linktocsv));
              window.centerInPage();
              window.setAutoSize(true);
              window.show();
              window.setKeepInParentRect(true);
            }
            if (onFinished != null) {
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

    PrintPreferencesCanvas canvas = new PrintPreferencesCanvas(mapWidget);
    canvas.setMargin(10);
    Window window = new Window();
    window.setTitle(messages.printPrefsTitle());
    window.addItem(canvas);
    window.centerInPage();
    window.setAutoSize(true);
    window.show();
  }

  public void configure(String key, String value) {
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

                    winModal.setShowModalMask(true);
                    winModal.setAutoSize(true);
                    winModal.setAutoCenter(true);
                    winModal.setShowResizer(true);
                    winModal.setCanDragResize(true);
                    winModal.centerInPage();
                    winModal.addCloseClickHandler(new CloseClickHandler() {
                        @Override
                        public void onCloseClick(CloseClickEvent event) {
                            winModal.markForDestroy();
                        }
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

                    winModal.setShowModalMask(true);
                    winModal.setAutoSize(true);
                    winModal.setAutoCenter(true);
                    winModal.setShowResizer(true);
                    winModal.setCanDragResize(true);
                    winModal.centerInPage();
                    winModal.addCloseClickHandler(new CloseClickHandler() {
                        @Override
                        public void onCloseClick(CloseClickEvent event) {
                            winModal.markForDestroy();
                        }
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

                        winModal.setShowMinimizeButton(false);
                        winModal.setIsModal(true);
                        winModal.setShowModalMask(true);
                        winModal.setAutoSize(true);
                        winModal.setAutoCenter(true);
                        winModal.centerInPage();
                        winModal.addCloseClickHandler(new CloseClickHandler() {
                            @Override
                            public void onCloseClick(CloseClickEvent event) {
                                winModal.markForDestroy();
                                refreshTableInfo();
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

        liveDataWindow.setDismissOnEscape(true);
        liveDataWindow.setIsModal(true);
        liveDataWindow.setWidth(700);
        liveDataWindow.setHeight(425);
        liveDataWindow.setAutoCenter(true);
        liveDataWindow.centerInPage();
        liveDataWindow.addCloseClickHandler(new CloseClickHandler() {
            @Override
            public void onCloseClick(CloseClickEvent event) {
                liveDataWindow.destroy();
                refreshTableInfo();
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

        dialogWin.setIsModal(true);
        dialogWin.setShowModalMask(true);
        dialogWin.setCanDragResize(true);
        dialogWin.setShowMaximizeButton(true);
        dialogWin.setShowMinimizeButton(false);
        dialogWin.centerInPage();
        dialogWin.addItem(form);
        dialogWin.show();
        dialogWin.addCloseClickHandler(new CloseClickHandler() {
            @Override
            public void onCloseClick(CloseClickEvent event) {
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

        winModal.setShowModalMask(true);
        winModal.setAutoSize(true);
        winModal.setAutoCenter(true);
        winModal.setShowResizer(true);
        winModal.setCanDragResize(true);
        winModal.centerInPage();
        winModal.addCloseClickHandler(new CloseClickHandler() {
            public void onCloseClick(CloseClickEvent event) {
                winModal.markForDestroy();
                titleBar.refreshResourceErrors();
            }
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

        popup.setTitle(title);
        popup.setWidth(width);
        popup.setHeight(height);
        popup.setIsModal(true);
        popup.setShowModalMask(true);
        popup.centerInPage();
        return popup;
    }

    private void mergePropertyMap(PropertyMap sourceMap, PropertyMap targetMap,
        List<PropertyDefinition> memberDefinitions) {
View Full Code Here

Examples of com.smartgwt.client.widgets.Window.centerInPage()

                winModal.setWidth("70%");
                winModal.setHeight("70%");
                winModal.setIsModal(true);
                winModal.setShowResizer(true);
                winModal.setCanDragResize(true);
                winModal.centerInPage();
                winModal.setTitle(MSG.common_title_componentErrors());

                Label disposalReminder = new Label();
                disposalReminder.setHeight(12);
                disposalReminder.setPadding(4);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.