|
||||||||||
| 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 Form| Constructor Summary | |
|---|---|
GInfoWindow(GLatLng latLng,
Component content)
Constructor. |
|
GInfoWindow(GLatLng latLng,
String content)
Constructor. |
|
| Method Summary | |
|---|---|
void |
close()
|
String |
getJSconstructor()
Implement the needed JavaScript constructor for the corresponding JavaScript object. |
boolean |
isOpen()
|
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, 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 GInfoWindow| Method Detail |
|---|
public String getJSconstructor()
GOverlay
getJSconstructor in class GOverlay
protected void updateOnAjaxCall(AjaxRequestTarget target,
GEvent overlayEvent)
updateOnAjaxCall in class GOverlaypublic boolean isOpen()
public void close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||