|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.mvc.MVCObject<InfoWindow>
com.google.gwt.maps.client.overlays.InfoWindow
public class InfoWindow
An overlay that looks like a bubble and is often connected to a marker.
Extends MVCObject.
| Constructor Summary | |
|---|---|
protected |
InfoWindow()
use newInstance(); Creates an info window with the given options. |
| Method Summary | |
|---|---|
HandlerRegistration |
addCloseClickHandler(CloseClickMapHandler handler)
This event is fired when the close button was clicked. |
HandlerRegistration |
addContentChangeHandler(ContentChangeMapHandler handler)
This event is fired when the content property changes. |
HandlerRegistration |
addDomReadyHandler(DomReadyMapHandler handler)
This event is fired when the <div> containing the InfoWindow's content is attached to the DOM. |
HandlerRegistration |
addPositionChangeHandler(PositionChangeMapHandler handler)
This event is fired when the position property changes. |
HandlerRegistration |
addZindexChangedHandler(ZindexChangeMapHandler handler)
This event is fired when the InfoWindow's zIndex changes. |
void |
close()
Closes this InfoWindow by removing it from the DOM structure. |
Element |
getContent_Node()
get content if its a node |
String |
getContent_String()
get content if its a string |
LatLng |
getPosition()
get Position |
int |
getZindex()
get Z index |
static InfoWindow |
newInstance(InfoWindowOptions options)
Creates an info window with the given options. |
void |
open(MapWidget mapWidget)
Opens this InfoWindow on the given map. |
void |
open(MapWidget mapWidget,
MVCObject<?> anchor)
Opens this InfoWindow on the given map. |
void |
open(StreetViewPanoramaWidget streetViewPanoRamaWidget)
Opens this InfoWindow on the given map. |
void |
open(StreetViewPanoramaWidget streetViewPanoRamaWidget,
MVCObject<?> anchor)
Opens this InfoWindow on the given map. |
void |
setContent(Element element)
set Content |
void |
setContent(String content)
set Content |
void |
setContent(Widget widget)
|
void |
setOptions(InfoWindowOptions options)
set Options |
void |
setPosition(LatLng position)
set Position |
void |
setZindex(int index)
set Z index |
| Methods inherited from class com.google.gwt.maps.client.mvc.MVCObject |
|---|
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected InfoWindow()
| Method Detail |
|---|
public static final InfoWindow newInstance(InfoWindowOptions options)
options - InfoWindowOptionspublic final void close()
public final String getContent_String()
public final Element getContent_Node()
Elementpublic final LatLng getPosition()
public final int getZindex()
public final void open(MapWidget mapWidget)
mapWidget -
public final void open(MapWidget mapWidget,
MVCObject<?> anchor)
mapWidget - anchor - public final void open(StreetViewPanoramaWidget streetViewPanoRamaWidget)
streetViewPanoRamaWidget -
public final void open(StreetViewPanoramaWidget streetViewPanoRamaWidget,
MVCObject<?> anchor)
streetViewPanoRamaWidget - anchor - public final void setContent(Widget widget)
public final void setContent(String content)
content - public final void setContent(Element element)
element - public final void setOptions(InfoWindowOptions options)
options - public final void setPosition(LatLng position)
position - public final void setZindex(int index)
index - public final HandlerRegistration addCloseClickHandler(CloseClickMapHandler handler)
handler - public final HandlerRegistration addContentChangeHandler(ContentChangeMapHandler handler)
handler - public final HandlerRegistration addDomReadyHandler(DomReadyMapHandler handler)
<div> containing the InfoWindow's content is attached to the DOM. You may wish to monitor this event if you are building out your info window content dynamically.
handler - public final HandlerRegistration addPositionChangeHandler(PositionChangeMapHandler handler)
handler - public final HandlerRegistration addZindexChangedHandler(ZindexChangeMapHandler handler)
handler -
|
Follow us on GitHub |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||