com.smartgwt.client.widgets.Window.setShowModalMask()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.2k)|赞(0)|评价(0)|浏览(104)

本文整理了Java中com.smartgwt.client.widgets.Window.setShowModalMask()方法的一些代码示例,展示了Window.setShowModalMask()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Window.setShowModalMask()方法的具体详情如下:
包路径:com.smartgwt.client.widgets.Window
类名称:Window
方法名:setShowModalMask

Window.setShowModalMask介绍

[英]If true, displays a translucent mask over the rest of the page when a modal window is displayed.
[中]如果为true,则在显示模式窗口时,在页面的其余部分显示半透明遮罩。

代码示例

代码示例来源:origin: org.geomajas.widget/geomajas-widget-searchandfilter-gwt

private void showWindow() {
  if (window == null) {
    window = createWindow();
    if (isModalSearch()) {
      window.setIsModal(true);
      window.setShowModalMask(true);
    }
  }
  window.show();
}

代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt

/**
   * 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();
  }
}

代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt

winModal.setShowMinimizeButton(false);
winModal.setIsModal(true);
winModal.setShowModalMask(true);
winModal.centerInPage();
winModal.setShowCloseButton(false);

代码示例来源:origin: org.geomajas/geomajas-project-deskmanager-gwt

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);
}

代码示例来源:origin: com.github.livesense/org.liveSense.jcr.explorer

addMixinTypeWindow.setShowModalMask(true);

代码示例来源:origin: org.n52.sensorweb/sensorwebclient-ui

private Canvas createStyleToolsWindow() {
  this.styleChanger = new Window();
  this.styleChanger.setShowModalMask(true);
  this.styleChanger.setWidth(250);
  this.styleChanger.setHeight(280);

代码示例来源:origin: com.github.livesense/org.liveSense.jcr.explorer

changeNodeTypeWindow.setShowMinimizeButton(false);  
changeNodeTypeWindow.setIsModal(true);  
changeNodeTypeWindow.setShowModalMask(true);  
changeNodeTypeWindow.setTitle("Change Node Type Icon");
changeNodeTypeWindow.setCanDragReposition(true);

代码示例来源:origin: com.github.livesense/org.liveSense.jcr.explorer

addNewNodeWindow.setShowMinimizeButton(false);  
addNewNodeWindow.setIsModal(true);  
addNewNodeWindow.setShowModalMask(true);

代码示例来源:origin: org.n52.sensorweb/sensorwebclient-ui

this.expertsWindow.setHeight(130);
this.expertsWindow.setCanDragResize(true);
this.expertsWindow.setShowModalMask(true);

代码示例来源:origin: com.github.livesense/org.liveSense.jcr.explorer

editPropertyWindow.setShowModalMask(true);  
editPropertyWindow.centerInPage();
if (isNew)

相关文章