Пример #1
0
  /** @return if this window is modal. */
  public boolean isModal() {
    if (this.options.containsKey("modal")) {
      return options.getBoolean("modal");
    }

    return false;
  }
Пример #2
0
  /** Returns <code>true</code> if this window is resizable. */
  public boolean isResizable() {
    if (this.options.containsKey("resizable")) {
      return options.getBoolean("resizable");
    }

    return true;
  }
Пример #3
0
  /** @return if this window auto opens on page loading. */
  public boolean isAutoOpen() {
    if (this.options.containsKey("autoOpen")) {
      return options.getBoolean("autoOpen");
    }

    return true;
  }