Examples of centerInPage()


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.setWidth(700);
                    winModal.setHeight(450);
                    winModal.setAutoCenter(true);
                    winModal.setShowResizer(true);
                    winModal.setCanDragResize(true);
                    winModal.centerInPage();
                    winModal.addCloseClickHandler(new CloseClickHandler() {
                        @Override
                        public void onCloseClick(CloseClickEvent event) {
                            winModal.markForDestroy();
                            MembersView.this.refreshTableInfo();
View Full Code Here

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

        modalWindow.setCanDragReposition(true);
        modalWindow.setShowMinimizeButton(false);
        modalWindow.setShowMaximizeButton(true);
        modalWindow.setIsModal(true);
        modalWindow.setShowModalMask(true);
        modalWindow.centerInPage();
        modalWindow.addCloseClickHandler(new CloseClickHandler() {
            public void onCloseClick(CloseClickEvent event) {
                modalWindow.destroy();
                AffinityGroupTableView.this.refreshTableInfo();
            }
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.destroy();
                }
View Full Code Here

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

        dialog.setShowModalMask(true);
        dialog.setShowResizer(true);
        dialog.setShowFooter(true);
        dialog.setCanDragResize(true);
        dialog.setAutoCenter(true);
        dialog.centerInPage();
        dialog.addItem(view);
        dialog.addCloseClickHandler(new CloseClickHandler() {
            @Override
            public void onCloseClick(CloseClickEvent event) {
                dialog.markForDestroy();
View Full Code Here

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

    window.setTitle("Login");
    window.setIsModal(true);
    window.setShowMinimizeButton(false);
    window.setShowModalMask(true);
   
    window.centerInPage();

   
    TextItem username = new TextItem()
    username.setTitle("Username");
    username.setName("username");
View Full Code Here

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

                winModal.setHeight(115);
                winModal.setTitle("Modal Window");
                winModal.setShowMinimizeButton(false);
                winModal.setIsModal(true);
                winModal.setShowModalMask(true);
                winModal.centerInPage();
                winModal.addCloseClickHandler(new CloseClickHandler() {
                    public void onCloseClick(CloseClientEvent event) {
                        buttonTouchThis.setTitle("Touch This");
                        winModal.destroy();
                    }
View Full Code Here

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

    PrintPreferencesCanvas canvas = new PrintPreferencesCanvas(mapWidget);
    canvas.setMargin(WidgetLayout.marginSmall);
    Window window = new KeepInScreenWindow();
    window.setTitle(MESSAGES.printPrefsTitle());
    window.addItem(canvas);
    window.centerInPage();
    window.setAutoSize(true);
    window.show();
  }

  @Override
View Full Code Here

Examples of org.geomajas.gwt.client.widget.KeepInScreenWindow.centerInPage()

    PrintPreferencesCanvas canvas = new PrintPreferencesCanvas(mapWidget);
    canvas.setMargin(WidgetLayout.marginSmall);
    Window window = new KeepInScreenWindow();
    window.setTitle(MESSAGES.printPrefsTitle());
    window.addItem(canvas);
    window.centerInPage();
    window.setAutoSize(true);
    window.show();
  }

  @Override
View Full Code Here

Examples of org.geomajas.widget.featureinfo.client.widget.DockableWindow.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
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.