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 polylines 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 FusionTablesPolylineOptions extends JavaScriptObject {
011    
012      /**
013       * use newInstance();
014       */
015      protected FusionTablesPolylineOptions() {}
016    
017      /**
018       * Options which control the appearance of polylines in a FusionTablesLayer.
019       */
020      public final static FusionTablesPolylineOptions 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 strokeColor
027       */
028      public final native void setStrokeColor(String strokeColor) /*-{
029        this.strokeColor = strokeColor;
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 getStrokeColor() /*-{
036        return this.strokeColor;
037      }-*/;
038    
039      /**
040       * sets The stroke opacity between 0.0 and 1.0.
041       * @param strokeOpacity
042       */
043      public final native void setStrokeOpacity(double strokeOpacity) /*-{
044        this.strokeOpacity = strokeOpacity;
045      }-*/;
046    
047      /**
048       * gets The stroke opacity between 0.0 and 1.0.
049       */
050      public final native double getStrokeOpacity() /*-{
051        return this.strokeOpacity;
052      }-*/;
053    
054      /**
055       * sets The stroke width in pixels, between 0 and 10.
056       * @param strokeWeight
057       */
058      public final native void setStrokeWeight(int strokeWeight) /*-{
059        this.strokeWeight = strokeWeight;
060      }-*/;
061    
062      /**
063       * gets The stroke width in pixels, between 0 and 10.
064       */
065      public final native int getStrokeWeight() /*-{
066        return this.strokeWeight;
067      }-*/;
068    
069    }