예제 #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;
  }