Follow us on GitHub

com.google.gwt.maps.client.overlays
Class RectangleOptions

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.overlays.RectangleOptions

public class RectangleOptions
extends JavaScriptObject

Rectangle Options

See RectangleOptions API Doc


Constructor Summary
protected RectangleOptions()
          use newInstance();
 
Method Summary
 LatLngBounds getBounds()
          gets The bounds.
 boolean getClickable()
          gets Indicates whether this Polyline handles click events.
 String getFillColor()
          The fill color.
 double getFillOpacity()
          The fill opacity between 0.0 and 1.0
 MapWidget getMapWidget()
          gets Map on which to display Polyline.
 String getStrokeColor()
          gets The stroke color.
 double getStrokeOpacity()
          gets The stroke opacity between 0.0 and 1.0
 int getStrokeWeight()
          gets The stroke width in pixels.
 int getZindex()
          gets The zIndex compared to other rectangles.
static RectangleOptions newInstance()
          creates Rectangle options
 void setBounds(LatLngBounds bounds)
          sets The bounds.
 void setClickable(boolean clickable)
          sets Indicates whether this Polyline handles click events.
 void setFillColor(String fillColor)
          The fill color.
 void setFillOpacity(double fillOpacity)
          The fill opacity between 0.0 and 1.0
 void setMap(MapWidget mapWidget)
          sets Map on which to display Polyline.
 void setStrokeColor(String strokeColor)
          sets The stroke color.
 void setStrokeOpacity(double strokeOpacity)
          sets The stroke opacity between 0.0 and 1.0
 void setStrokeWeight(int strokeWeight)
          sets The stroke width in pixels.
 void setZindex(int zIndex)
          sets The zIndex compared to other rectangles.
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RectangleOptions

protected RectangleOptions()
use newInstance();

Method Detail

newInstance

public static final RectangleOptions newInstance()
creates Rectangle options


setBounds

public final void setBounds(LatLngBounds bounds)
sets The bounds.

Parameters:
bounds -

getBounds

public final LatLngBounds getBounds()
gets The bounds.


setClickable

public final void setClickable(boolean clickable)
sets Indicates whether this Polyline handles click events. Defaults to true.

Parameters:
clickable -

getClickable

public final boolean getClickable()
gets Indicates whether this Polyline handles click events. Defaults to true.


setFillColor

public final void setFillColor(String fillColor)
The fill color. All CSS3 colors are supported except for extended named colors.

Parameters:
fillColor -

getFillColor

public final String getFillColor()
The fill color. All CSS3 colors are supported except for extended named colors.


setFillOpacity

public final void setFillOpacity(double fillOpacity)
The fill opacity between 0.0 and 1.0

Parameters:
fillOpacity -

getFillOpacity

public final double getFillOpacity()
The fill opacity between 0.0 and 1.0


setMap

public final void setMap(MapWidget mapWidget)
sets Map on which to display Polyline.

Parameters:
mapWidget -

getMapWidget

public final MapWidget getMapWidget()
gets Map on which to display Polyline.


setStrokeColor

public final void setStrokeColor(String strokeColor)
sets The stroke color. All CSS3 colors are supported except for extended named colors.

Parameters:
strokeColor -

getStrokeColor

public final String getStrokeColor()
gets The stroke color. All CSS3 colors are supported except for extended named colors.


setStrokeOpacity

public final void setStrokeOpacity(double strokeOpacity)
sets The stroke opacity between 0.0 and 1.0

Parameters:
strokeOpacity -

getStrokeOpacity

public final double getStrokeOpacity()
gets The stroke opacity between 0.0 and 1.0


setStrokeWeight

public final void setStrokeWeight(int strokeWeight)
sets The stroke width in pixels.

Parameters:
strokeWeight -

getStrokeWeight

public final int getStrokeWeight()
gets The stroke width in pixels.


setZindex

public final void setZindex(int zIndex)
sets The zIndex compared to other rectangles.

Parameters:
zIndex -

getZindex

public final int getZindex()
gets The zIndex compared to other rectangles.



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.