/** * 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.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.centerInPage(); this.styleChanger.setCanDragResize(true); this.styleChanger.setShowCloseButton(true);
w.addItem(layout); w.setShowMinimizeButton(false); w.setShowCloseButton(false); w.setKeepInParentRect(true); w.setAutoCenter(true);