public void onClick(ClickEvent event) { DataControlsTimeSeries.this.expertsWindow.centerInPage(); DataControlsTimeSeries.this.expertsWindow.show(); } });
@Override public void onClick(ClickEvent event) { 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(); }
/** {@inheritDoc} */ public void onClick(ClickEvent event) { 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(); }
private void createInformationWindow() { informationWindow = new Window(); informationWindow.setTitle(LegendEntryTimeSeries.this.getTimeSeries().getTimeSeriesLabel()); informationWindow.setWidth(450); informationWindow.setHeight(500); informationWindow.setShowMinimizeButton(false); informationWindow.centerInPage(); HTMLPane htmlPane = new HTMLPane(); htmlPane.setContentsURL(LegendEntryTimeSeries.this .getTimeSeries().getMetadataUrl()); htmlPane.setContentsType(ContentsType.PAGE); informationWindow.addItem(htmlPane); }
public void onClick(ClickEvent event) { com.smartgwt.client.widgets.Window w = new com.smartgwt.client.widgets.Window(); w.setTitle(i18n.Impressum()); w.setWidth(450); w.setHeight(460); w.centerInPage(); w.setIsModal(true); VLayout layout = new VLayout(); HTMLPane pane = new HTMLPane(); pane.setContentsURL(i18n.imprintPath()); layout.setStyleName("n52_sensorweb_client_imprint_content"); layout.addMember(pane); w.addItem(layout); w.show(); } });
/** * Show the window. */ public void show() { final Window winModal = new Window(); winModal.setWidth(500); winModal.setHeight(300); winModal.setTitle(MESSAGES.rolesWindowUnauthorizedWindowTitle()); winModal.setShowMinimizeButton(false); winModal.setIsModal(true); winModal.setShowModalMask(true); winModal.centerInPage(); winModal.setShowCloseButton(false); winModal.setZIndex(GdmLayout.roleSelectZindex); HTMLPane pane = new HTMLPane(); pane.setContents("<br/><br/><center>" + MESSAGES.rolesWindowInsufficientRightsForDesk() + "</center>"); winModal.addItem(pane); winModal.show(); } }
winModal.setIsModal(true); winModal.setShowModalMask(true); winModal.centerInPage(); winModal.setShowCloseButton(false); winModal.setZIndex(2000);
private void createWindow() { window = new Window(); window.setWidth(500); window.setHeight(300); window.setShowMinimizeButton(false); window.setIsModal(true); window.setShowModalMask(true); window.centerInPage(); window.setShowCloseButton(true); window.setZIndex(2000); VLayout layout = new VLayout(); layout.setLayoutMargin(25); layout.setMembersMargin(10); fileUploadForm = new GenericUploadForm(); button = new IButton(); layout.setLayoutMargin(25); layout.addMember(fileUploadForm); layout.addMember(button); window.addItem(layout); }
this.styleChanger.setHeight(280); this.styleChanger.setIsModal(true); this.styleChanger.centerInPage(); this.styleChanger.setCanDragResize(true); this.styleChanger.setShowCloseButton(true);
lay.setAutoHeight(); window.addItem(lay); window.centerInPage(); window.setAutoSize(true); window.show();
window.setCanDragReposition(true); window.setCanDragResize(true); window.centerInPage();
window.setCanDragReposition(true); window.setCanDragResize(true); window.centerInPage(); EditUserWindow.window = window;
editPropertyWindow.setIsModal(true); editPropertyWindow.setShowModalMask(true); editPropertyWindow.centerInPage(); if (isNew) editPropertyWindow.setTitle("Add New Property");