Package com.google.gwt.core.client

Examples of com.google.gwt.core.client.JsDate


   * @param columnIndex is the cell's column index.
   * @param name is a string with the property name.
   * @return the value of a named property or null
   */
  public final Date getPropertyDate(int rowIndex, int columnIndex, String name) {
    JsDate jsDate = getPropertyObject(rowIndex, columnIndex, name).cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here


   * @param rowIndex is the cell's row index.
   * @param name is a string with the property name.
   * @return the value of a named property or null
   */
  public final Date getRowPropertyDate(int rowIndex, String name) {
    JsDate jsDate = getRowPropertyObject(rowIndex, name).cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here

   *
   * @param name is a string with the property name.
   * @return the value of a named property or null
   */
  public final Date getTablePropertyDate(String name) {
    JsDate jsDate = getTablePropertyObject(name).cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here

   * @param rowIndex should be a number greater than or equal to zero, and less than the number of rows
   * @param columnIndex should be a number greater than or equal to zero, and less than the number of columns
   * @return value of the specified cell
   */
  public final Date getValueDate(int rowIndex, int columnIndex) {
    JsDate jsDate = getValueObject(rowIndex, columnIndex).cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here

  protected ColorFormat() {
  }

  public final void addGradientRange(Date from, Date to, String color, String fromBgColor, String toBgColor) {
    JsDate fromValue = DateHelper.getJsDate(from);
    JsDate toValue = DateHelper.getJsDate(to);
    this.addGradientRange(fromValue, toValue, color, fromBgColor, toBgColor);
  }
View Full Code Here

      String toBgColor) /*-{
    this.addGradientRange(from, to, color, fromBgColor, toBgColor);
  }-*/;

  public final void addRange(Date from, Date to, String color, String bgColor) {
    JsDate fromValue = DateHelper.getJsDate(from);
    JsDate toValue = DateHelper.getJsDate(to);
    this.addRange(fromValue, toValue, color, bgColor);
  }
View Full Code Here

   *
   * @param key The name of the option to retrieve. May be a qualified name, such as 'vAxis.title'
   * @return the value specified by key
   */
  public final Date getOptionDate(String key) {
    JsDate jsDate = this.getOptionObject(key).cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here

   * @param key The name of the option to retrieve. May be a qualified name, such as 'vAxis.title'
   * @param defaultValue If the specified value is undefined or null, this value will be returned.
   * @return the value specified by key
   */
  public final Date getOptionDate(String key, Date defaultValue) {
    JsDate jsDate = this.getOptionObject(key, DateHelper.getJsDate(defaultValue)).cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here

   * Returns the maximum existing value
   *
   * @return the maximum existing value
   */
  public final Date getMaxDate() {
    JsDate jsDate = getMaxObject().cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here

   * Returns the minimum existing value
   *
   * @return the minimum existing value
   */
  public final Date getMinDate() {
    JsDate jsDate = getMinObject().cast();
    return DateHelper.getDate(jsDate);
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.core.client.JsDate

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.