org.wicketstuff.gmap.api
Class GPolygon

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

public class GPolygon
extends GOverlay

Represents an Google Maps API's GPolygon.

See Also:
Serialized Form

Constructor Summary
GPolygon(String strokeColor, int strokeWeight, float strokeOpacity, String fillColor, float fillOpacity, GLatLng... gLatLngs)
           
 
Method Summary
 String getJSconstructor()
          Implement the needed JavaScript constructor for the corresponding JavaScript object.
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

GPolygon

public GPolygon(String strokeColor,
                int strokeWeight,
                float strokeOpacity,
                String fillColor,
                float fillOpacity,
                GLatLng... gLatLngs)
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.
See Also:
GOverlay.getJSconstructor()

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
See Also:
GOverlay.updateOnAjaxCall(org.apache.wicket.ajax.AjaxRequestTarget, GEvent)


Copyright © 2014. All rights reserved.