001 package com.google.gwt.maps.client.layers;
002
003 import com.google.gwt.core.client.JavaScriptObject;
004
005 /**
006 * Controls the appearance of a set of features within a FusionTablesLayer. Features which match the provided SQL predicate will be styled with the supplied options.
007 * <br><br>
008 * See <a href="https://developers.google.com/maps/documentation/javascript/reference#FusionTablesStyle">FusionTablesStyle API Doc</a>
009 */
010 public class FusionTablesStyle extends JavaScriptObject {
011
012 /**
013 * use newInstance();
014 */
015 protected FusionTablesStyle() {}
016
017 /**
018 * creates - Controls the appearance of a set of features within a FusionTablesLayer. Features which match the provided SQL predicate will be styled with the supplied options.
019 */
020 public final static FusionTablesStyle newInstance() {
021 return JavaScriptObject.createObject().cast();
022 }
023
024 /**
025 * sets Options which control the appearance of point features.
026 * @param markerOptions
027 */
028 public final native void setMarkerOptions(FusionTablesMarkerOptions markerOptions) /*-{
029 this.markerOptions = markerOptions;
030 }-*/;
031
032 /**
033 * gets Options which control the appearance of point features.
034 */
035 public final native FusionTablesMarkerOptions getMarkerOptions() /*-{
036 return this.markerOptions;l
037 }-*/;
038
039 /**
040 * sets Options which control the appearance of polygons.
041 * @param polygonOptions
042 */
043 public final native void setPolygonOptions(FusionTablesPolygonOptions polygonOptions) /*-{
044 this.polygonOptions = polygonOptions;
045 }-*/;
046
047 /**
048 * gets Options which control the appearance of polygons.
049 */
050 public final native FusionTablesPolygonOptions getPolygonOptions() /*-{
051 return this.polygonOptions;
052 }-*/;
053
054 /**
055 * sets Options which control the appearance of polylines.
056 * @param polylineOptions
057 */
058 public final native void setPolylineOptions(FusionTablesPolylineOptions polylineOptions) /*-{
059 this.polylineOptions = polylineOptions;
060 }-*/;
061
062 /**
063 * gets Options which control the appearance of polylines.
064 */
065 public final native FusionTablesPolylineOptions getPolylineOptions() /*-{
066 return this.polylineOptions;
067 }-*/;
068
069 /**
070 * sets The SQL predicate to be applied to the layer.
071 * @param where
072 */
073 public final native void setWhere(String where) /*-{
074 this.where = where;
075 }-*/;
076
077 /**
078 * gets The SQL predicate to be applied to the layer.
079 */
080 public final native String getWhere() /*-{
081 return this.where;
082 }-*/;
083
084 }