예제 #1
0
  /**
   * Gets the window height.
   *
   * @return the window height (trimmed, never null)
   */
  private String getWindowHeight() {

    int height = Val.chkInt(this.getMapViewerConfig().getParameters().get("height"), 400);
    return String.valueOf(height);
  }
예제 #2
0
 /**
  * Gets the window width.
  *
  * @return the window width (trimmed, never null)
  */
 private String getWindowWidth() {
   int width = Val.chkInt(this.getMapViewerConfig().getParameters().get("width"), 500);
   return String.valueOf(width);
 }
 /**
  * Sets owner id from string.
  *
  * @param value owner id
  */
 public void setOwnerId(String value) {
   _harvestRepository.setOwnerId(Val.chkInt(value, -1));
 }