Top Fields Constructors Methods
com.dlsc.gmapsfx.javascript.object

public abstract Class MapShape

extends JavascriptObject
Class Inheritance
Known Direct Subclasses
com.dlsc.gmapsfx.shapes.Circle, com.dlsc.gmapsfx.shapes.Polygon, com.dlsc.gmapsfx.shapes.Polyline, com.dlsc.gmapsfx.shapes.Rectangle
Imports
com.dlsc.gmapsfx.javascript.JavascriptObject, com.dlsc.gmapsfx.shapes.MapShapeOptions, netscape.javascript.JSObject

Author
Geoff Capper

Field Summary

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public LatLongBounds
public boolean
public boolean
public boolean
public void
setDraggable(boolean draggable)

public void
setEditable(boolean editable)

protected void
setMap(GoogleMap
The map to add this Polygon to.
map
)

This method is called from the GoogleMap.addPolygon() method, it should not be invoked directly.

public void
setVisible(boolean visible)

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
checkBooleancheckIntegercheckUndefinedgetJSObjectgetNextVariableNamegetPropertygetPropertygetVariableNameinvokeJavascriptinvokeJavascriptinvokeJavascriptReturnValueinvokeJavascriptReturnValueisMemberDefinedsetPropertysetPropertysetProperty

Constructor Detail

MapShapeback to summary
public MapShape(String type)
MapShapeback to summary
public MapShape(String type, MapShapeOptions<T extends MapShapeOptions> opts)

Method Detail

getBoundsback to summary
public LatLongBounds getBounds()
getDraggableback to summary
public boolean getDraggable()
getEditableback to summary
public boolean getEditable()
getVisibleback to summary
public boolean getVisible()
setDraggableback to summary
public void setDraggable(boolean draggable)
setEditableback to summary
public void setEditable(boolean editable)
setMapback to summary
protected void setMap(GoogleMap map)

This method is called from the GoogleMap.addPolygon() method, it should not be invoked directly.

Parameters
map:GoogleMap

The map to add this Polygon to.

setVisibleback to summary
public void setVisible(boolean visible)