|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.mvc.MVCObject<Circle>
com.google.gwt.maps.client.overlays.Circle
public class Circle
A circle overlay. This class extends MVCObject.
See Circle API Doc
Constructor Summary | |
---|---|
protected |
Circle()
use newInstance(); |
Method Summary | |
---|---|
HandlerRegistration |
addCenterChangeHandler(CenterChangeMapHandler handler)
add center change handler |
HandlerRegistration |
addClickHandler(ClickMapHandler handler)
This event is fired when the DOM click event is fired on the Circle. |
HandlerRegistration |
addDblClickHandler(DblClickMapHandler handler)
This event is fired when the DOM dblclick event is fired on the Circle. |
HandlerRegistration |
addMouseDownHandler(MouseDownMapHandler handler)
This event is fired when the DOM mousedown event is fired on the Circle. |
HandlerRegistration |
addMouseMoveHandler(MouseMoveMapHandler handler)
This event is fired when the DOM mousemove event is fired on the Circle. |
HandlerRegistration |
addMouseOutMoveHandler(MouseOutMapHandler handler)
This event is fired on Circle mouseout. |
HandlerRegistration |
addMouseOverHandler(MouseOverMapHandler handler)
This event is fired on Circle mouseover. |
HandlerRegistration |
addMouseUpHandler(MouseUpMapHandler handler)
This event is fired when the DOM mouseup event is fired on the Circle. |
HandlerRegistration |
addRadiusChangeHandler(RadiusChangeMapHandler handler)
This event is fired when the circle's radius is changed. |
HandlerRegistration |
addRightClickHandler(RightClickMapHandler handler)
This event is fired when the Circle is right-clicked on. |
LatLngBounds |
getBounds()
Returns the bounds of this circle. |
LatLng |
getCenter()
Returns the center of this circle. |
boolean |
getEditable()
Returns whether this circle can be edited by the user. |
MapWidget |
getMap()
Returns the map on which this circle is displayed. |
double |
getRadius()
Returns the radius of this circle (in meters). |
static Circle |
newInstance(CircleOptions options)
Create a circle using the passed CircleOptions, which specify the bounds and style. |
void |
setEditable(boolean editable)
If set to true, the user can edit this circle by dragging the control points shown at the corners and on each edge. |
void |
setMap(MapWidget mapWidget)
Renders the circle on the specified map. |
void |
setOptions(CircleOptions options)
sets the Circle options |
void |
setRadius(double radius)
Sets the radius of this circle (in meters). |
Methods inherited from class com.google.gwt.maps.client.mvc.MVCObject |
---|
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll |
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 |
---|
protected Circle()
Method Detail |
---|
public static final Circle newInstance(CircleOptions options)
options
- public final LatLngBounds getBounds()
public final LatLng getCenter()
public final boolean getEditable()
public final void setMap(MapWidget mapWidget)
mapWidget
- public final MapWidget getMap()
public final void setEditable(boolean editable)
editable
- public final void setOptions(CircleOptions options)
options
- public final void setRadius(double radius)
radius
- public final double getRadius()
public final HandlerRegistration addCenterChangeHandler(CenterChangeMapHandler handler)
handler
- public final HandlerRegistration addClickHandler(ClickMapHandler handler)
handler
- public final HandlerRegistration addDblClickHandler(DblClickMapHandler handler)
handler
- public final HandlerRegistration addMouseDownHandler(MouseDownMapHandler handler)
handler
- public final HandlerRegistration addMouseMoveHandler(MouseMoveMapHandler handler)
handler
- public final HandlerRegistration addMouseOutMoveHandler(MouseOutMapHandler handler)
handler
- public final HandlerRegistration addMouseOverHandler(MouseOverMapHandler handler)
handler
- public final HandlerRegistration addMouseUpHandler(MouseUpMapHandler handler)
handler
- public final HandlerRegistration addRadiusChangeHandler(RadiusChangeMapHandler handler)
handler
- public final HandlerRegistration addRightClickHandler(RightClickMapHandler handler)
handler
-
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |