org.wicketstuff.gmap.api
Class GCircle

java.lang.Object
  extended by org.wicketstuff.gmap.api.GOverlay
      extended by org.wicketstuff.gmap.api.GCircle
All Implemented Interfaces:
Serializable

public class GCircle
extends GOverlay

Represents an Google Maps API's Circle.

See Also:
Serialized Form

Constructor Summary
GCircle(GLatLng center, double radius, String strokeColor, int strokeWeight, float strokeOpacity, String fillColor, float fillOpacity)
           
 
Method Summary
 String getJSconstructor()
          Implement the needed JavaScript constructor for the corresponding JavaScript object.
 GCircle setClickable(boolean clickable)
           
 GCircle setDraggable(boolean draggable)
           
 GCircle setEditable(boolean editable)
           
 GCircle setVisible(boolean visible)
           
 GCircle setZIndex(Integer zIndex)
           
protected  void updateOnAjaxCall(AjaxRequestTarget target, GEvent overlayEvent)
          Implement to handle Ajax calls to your needs.
 
Methods inherited from class org.wicketstuff.gmap.api.GOverlay
addFunctionListener, addListener, clearListeners, getFunctionListeners, getId, getJS, getJSremove, getListeners, getPage, getParent, onEvent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCircle

public GCircle(GLatLng center,
               double radius,
               String strokeColor,
               int strokeWeight,
               float strokeOpacity,
               String fillColor,
               float fillOpacity)
Method Detail

getJSconstructor

public String getJSconstructor()
Description copied from class: GOverlay
Implement the needed JavaScript constructor for the corresponding JavaScript object.

Specified by:
getJSconstructor in class GOverlay
Returns:
String representing the JavaScript constructor.

updateOnAjaxCall

protected void updateOnAjaxCall(AjaxRequestTarget target,
                                GEvent overlayEvent)
Description copied from class: GOverlay
Implement to handle Ajax calls to your needs.

Specified by:
updateOnAjaxCall in class GOverlay

setClickable

public GCircle setClickable(boolean clickable)

setDraggable

public GCircle setDraggable(boolean draggable)

setEditable

public GCircle setEditable(boolean editable)

setVisible

public GCircle setVisible(boolean visible)

setZIndex

public GCircle setZIndex(Integer zIndex)


Copyright © 2014. All rights reserved.