|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.wicketstuff.gmap.api.GOverlay
org.wicketstuff.gmap.api.GInfoWindow
public class GInfoWindow
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:
GEvent.content_changed
,
GEvent.domready
,
GEvent.closeclick
,
Serialized FormConstructor Summary | |
---|---|
GInfoWindow(GLatLng latLng,
Component content)
Constructor. |
|
GInfoWindow(GLatLng latLng,
String content)
Constructor. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GInfoWindow(GLatLng latLng, String content)
latLng
- the position where the info window should be openedcontent
- the (HTML) content which should be shown. Any containing
apostrophes will be escaped.public GInfoWindow(GLatLng latLng, Component content)
latLng
- the position where the info window should be openedcontent
- the Component which should be shown. Internally uses document.getElementById('" + markupId + "') to link to the GInfoWindowMethod Detail |
---|
public String getJSconstructor()
GOverlay
getJSconstructor
in class GOverlay
protected void updateOnAjaxCall(AjaxRequestTarget target, GEvent overlayEvent)
updateOnAjaxCall
in class GOverlay
public boolean isOpen()
public void close()
public GLatLng getLatLng()
public void setMaxWidth(Integer maxWidth)
public void setLatLng(GLatLng latLng)
public String getContent()
public void setContent(String content)
public Integer getMaxWidth()
public Boolean getDisableAutoPan()
public void setDisableAutoPan(Boolean disableAutoPan)
public Integer getzIndex()
public void setzIndex(Integer zIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |