001    package com.google.gwt.maps.client.layers;
002    
003    import com.google.gwt.core.client.JavaScriptObject;
004    
005    /**
006     * Options which control the appearance of polygons in a FusionTablesLayer.
007     * <br><br>
008     * See <a href="https://developers.google.com/maps/documentation/javascript/reference#FusionTablesPolygonOptions">FusionTablesPolygonOptions API Doc</a>
009     */
010    public class FusionTablesPolygonOptions extends JavaScriptObject {
011    
012      /**
013       * use newInstance();
014       */
015      protected FusionTablesPolygonOptions() {}
016    
017      /**
018       * Options which control the appearance of polygons in a FusionTablesLayer.
019       */
020      public final static FusionTablesPolygonOptions newInstance() {
021        return JavaScriptObject.createObject().cast();
022      }
023      
024      /**
025       * sets The fill color, defined by a six-digit hexadecimal number in RRGGBB format (e.g. #00AAFF).
026       * @param fillColor
027       */
028      public final native void setFillColor(String fillColor) /*-{
029        this.fillColor = fillColor;
030      }-*/;
031    
032      /**
033       * gets The fill color, defined by a six-digit hexadecimal number in RRGGBB format (e.g. #00AAFF).
034       */
035      public final native String getFillColor() /*-{
036        return this.fillColor;
037      }-*/;
038    
039      /**
040       * sets The fill opacity between 0.0 and 1.0.
041       * @param fillOpacity
042       */
043      public final native void setFillOpacity(double fillOpacity) /*-{
044       this.fillOpacity = fillOpacity;
045      }-*/;
046    
047      /**
048       * gets The fill opacity between 0.0 and 1.0.
049       */
050      public final native double getFillOpacity() /*-{
051        return this.fillOpacity;
052      }-*/;
053    
054      /**
055       * sets The fill color, defined by a six-digit hexadecimal number in RRGGBB format (e.g. #00AAFF).
056       * @param strokeColor
057       */
058      public final native void setStrokeColor(String strokeColor) /*-{
059        this.strokeColor = strokeColor;
060      }-*/;
061    
062      /**
063       * gets The fill color, defined by a six-digit hexadecimal number in RRGGBB format (e.g. #00AAFF).
064       */
065      public final native String getStrokeColor() /*-{
066        return this.strokeColor;
067      }-*/;
068    
069      /**
070       * sets The stroke opacity between 0.0 and 1.0.
071       * @param strokeOpacity
072       */
073      public final native void setStrokeOpacity(double strokeOpacity) /*-{
074        this.strokeOpacity = strokeOpacity;
075      }-*/;
076    
077      /**
078       * gets The stroke opacity between 0.0 and 1.0.
079       */
080      public final native double getStrokeOpacity() /*-{
081        return this.strokeOpacity;
082      }-*/;
083    
084      /**
085       * sets The stroke width in pixels, between 0 and 10.
086       * @param strokeWeight
087       */
088      public final native void setStrokeWeight(int strokeWeight) /*-{
089        this.strokeWeight = strokeWeight;
090      }-*/;
091    
092      /**
093       * gets The stroke width in pixels, between 0 and 10.
094       */
095      public final native int getStrokeWeight() /*-{
096        return this.strokeWeight;
097      }-*/;
098    
099    }