org.wicketstuff.gmap.api
Class GRectangle
java.lang.Object
org.wicketstuff.gmap.api.GOverlay
org.wicketstuff.gmap.api.GRectangle
- All Implemented Interfaces:
- Serializable
public class GRectangle
- extends GOverlay
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
- See Also:
GEvent.bounds_changed,
GEvent.click,
GEvent.dblclick,
GEvent.drag,
GEvent.dragend,
GEvent.dragstart,
GEvent.mousedown,
GEvent.mousemove,
GEvent.mouseout,
GEvent.mouseover,
GEvent.mouseup,
GEvent.rightclick,
Serialized Form
| 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 |
GRectangle
public GRectangle(GLatLngBounds bounds,
String strokeColor,
int strokeWeight,
float strokeOpacity,
String fillColor,
float fillOpacity)
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(org.apache.wicket.ajax.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 GRectangle setClickable(boolean clickable)
setDraggable
public GRectangle setDraggable(boolean draggable)
setEditable
public GRectangle setEditable(boolean editable)
setVisible
public GRectangle setVisible(boolean visible)
setZIndex
public GRectangle setZIndex(Integer zIndex)
Copyright © 2016. All rights reserved.