Package org.wicketstuff.gmap.api
Class GRectangle
java.lang.Object
org.wicketstuff.gmap.api.GOverlay
org.wicketstuff.gmap.api.GRectangle
- All Implemented Interfaces:
Serializable
Represents an Google Maps API's
Rectangle.
Following events can be attached to this overlay:
bounds_changed
click
dblckick
dragend
dragstart
mousedown
mousemove
mouseout
mouseover
mouseup
rightclick
Following events can be attached to this overlay:
-
Constructor Summary
ConstructorsConstructorDescriptionGRectangle
(GLatLngBounds bounds, String strokeColor, int strokeWeight, float strokeOpacity, String fillColor, float fillOpacity) -
Method Summary
Modifier and TypeMethodDescriptionImplement the needed JavaScript constructor for the corresponding JavaScript object.setClickable
(boolean clickable) setDraggable
(boolean draggable) setEditable
(boolean editable) setVisible
(boolean visible) 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
-
Constructor Details
-
GRectangle
public GRectangle(GLatLngBounds bounds, String strokeColor, int strokeWeight, float strokeOpacity, String fillColor, float fillOpacity)
-
-
Method Details
-
getJSconstructor
Description copied from class:GOverlay
Implement the needed JavaScript constructor for the corresponding JavaScript object.- Specified by:
getJSconstructor
in classGOverlay
- Returns:
- String representing the JavaScript constructor.
-
updateOnAjaxCall
Description copied from class:GOverlay
Implement to handle Ajax calls to your needs.- Specified by:
updateOnAjaxCall
in classGOverlay
-
setClickable
-
setDraggable
-
setEditable
-
setVisible
-
setZIndex
-