com.vaadin.ui.Window.setBorder()方法的使用及代码示例

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

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

Window.setBorder介绍

暂无

代码示例

代码示例来源:origin: apache/ace

public void init() {
  setTheme("ace");
  if (!m_dependenciesResolved.get()) {
    final Window message = new Window("Apache ACE");
    message.getContent().setSizeFull();
    setMainWindow(message);
    Label richText = new Label("<h1>Apache ACE User Interface</h1>"
      + "<p>Due to missing component dependencies on the server, probably due to misconfiguration, "
      + "the user interface cannot be properly started. Please contact your server administrator. "
      + "You can retry accessing the user interface by <a href=\"?restartApplication\">following this link</a>.</p>");
    richText.setContentMode(Label.CONTENT_XHTML);
    // TODO we might want to add some more details here as to what's
    // missing on the other hand, the user probably can't fix that anyway
    message.addComponent(richText);
    return;
  }
  m_mainWindow = new Window("Apache ACE");
  m_mainWindow.getContent().setSizeFull();
  m_mainWindow.setBorder(Window.BORDER_NONE);
  setMainWindow(m_mainWindow);
  // Authenticate the user either by showing a login window; or by another means...
  authenticate();
}

代码示例来源:origin: org.aperteworkflow/gui-commons

final Window newConfirmationWindow = new Window(title);
newConfirmationWindow.setModal(true);
newConfirmationWindow.setBorder(0);
newConfirmationWindow.setClosable(false);
newConfirmationWindow.setWidth(500, Sizeable.UNITS_PIXELS);

代码示例来源:origin: org.aperteworkflow/gui-commons

final Window newConfirmationWindow = new Window(title);
newConfirmationWindow.setModal(true);
newConfirmationWindow.setBorder(0);
newConfirmationWindow.setClosable(false);
newConfirmationWindow.setWidth(500, Sizeable.UNITS_PIXELS);

相关文章

微信公众号

最新文章

更多