001 package com.google.gwt.maps.client.layers; 002 003 import com.google.gwt.core.client.JavaScriptObject; 004 import com.google.gwt.maps.client.mvc.MVCObject; 005 006 /** 007 * Describes a single cell from a Fusion Tables table. 008 * <br><br> 009 * See <a href="https://developers.google.com/maps/documentation/javascript/reference#FusionTablesCell">FusionTablesCell API Doc</a> 010 */ 011 public class FusionTablesCell extends MVCObject<FusionTablesCell> { 012 013 /** 014 * created from event 015 * use newInstance(); 016 */ 017 protected FusionTablesCell() {} 018 019 /** 020 * Describes a single cell from a Fusion Tables table. 021 */ 022 public final static FusionTablesCell newInstance() { 023 return JavaScriptObject.createObject().cast(); 024 } 025 026 /** 027 * The name of the column in which the cell was located. 028 * @param columnName 029 */ 030 public final native void setColumnName(String columnName) /*-{ 031 this.columnName = columnName; 032 }-*/; 033 034 /** 035 * The name of the column in which the cell was located. 036 */ 037 public final native String getColumnName() /*-{ 038 return this.columnName; 039 }-*/; 040 041 /** 042 * The contents of the cell. 043 * @param value 044 */ 045 public final native void setValue(String value) /*-{ 046 this.value = value; 047 }-*/; 048 049 /** 050 * The contents of the cell. 051 */ 052 public final native String getValue() /*-{ 053 return this.value; 054 }-*/; 055 056 }