Package org.wicketstuff.gmap.api
Class GInfoWindow
- java.lang.Object
-
- org.wicketstuff.gmap.api.GOverlay
-
- org.wicketstuff.gmap.api.GInfoWindow
-
- All Implemented Interfaces:
Serializable
public class GInfoWindow extends GOverlay
Represents an Google Maps API's GInfoWindow. You can attach following events to an InfoWindow in case you want to react to one of those:
-
-
Constructor Summary
Constructors Constructor Description GInfoWindow(GLatLng latLng, String content)
Constructor.GInfoWindow(GLatLng latLng, Component content)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getContent()
Boolean
getDisableAutoPan()
String
getJSconstructor()
Implement the needed JavaScript constructor for the corresponding JavaScript object.GLatLng
getLatLng()
Integer
getMaxWidth()
Integer
getzIndex()
boolean
isOpen()
void
setContent(String content)
void
setDisableAutoPan(Boolean disableAutoPan)
void
setLatLng(GLatLng latLng)
void
setMaxWidth(Integer maxWidth)
void
setzIndex(Integer zIndex)
protected void
updateOnAjaxCall(AjaxRequestTarget target, GEvent overlayEvent)
Update state from a request to an AJAX target.-
Methods inherited from class org.wicketstuff.gmap.api.GOverlay
addFunctionListener, addListener, clearListeners, getFunctionListeners, getId, getJS, getJSremove, getListeners, getPage, getParent, onEvent, setParent
-
-
-
-
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 classGOverlay
- Returns:
- String representing the JavaScript constructor.
-
updateOnAjaxCall
protected void updateOnAjaxCall(AjaxRequestTarget target, GEvent overlayEvent)
Update state from a request to an AJAX target.- Specified by:
updateOnAjaxCall
in classGOverlay
-
isOpen
public boolean isOpen()
-
close
public void close()
-
getLatLng
public GLatLng getLatLng()
-
setMaxWidth
public void setMaxWidth(Integer maxWidth)
-
setLatLng
public void setLatLng(GLatLng latLng)
-
getContent
public String getContent()
-
setContent
public void setContent(String content)
-
getMaxWidth
public Integer getMaxWidth()
-
getDisableAutoPan
public Boolean getDisableAutoPan()
-
setDisableAutoPan
public void setDisableAutoPan(Boolean disableAutoPan)
-
getzIndex
public Integer getzIndex()
-
setzIndex
public void setzIndex(Integer zIndex)
-
-