|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.MVCObject
com.google.maps.gwt.client.InfoWindow
public class InfoWindow
An overlay that looks like a bubble and is often connected to a marker. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Nested Class Summary | |
---|---|
static interface |
InfoWindow.CloseClickHandler
This event is fired when the close button was clicked. |
static interface |
InfoWindow.ContentChangedHandler
This event is fired when the content property changes. |
static interface |
InfoWindow.DomReadyHandler
This event is fired when the <div>
containing the
InfoWindow
's content is attached to the DOM. |
static interface |
InfoWindow.PositionChangedHandler
This event is fired when the position property changes. |
static interface |
InfoWindow.ZIndexChangedHandler
This event is fired when the InfoWindow's zIndex changes. |
Constructor Summary | |
---|---|
protected |
InfoWindow()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
void |
addCloseClickListener(InfoWindow.CloseClickHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addCloseClickListenerOnce(InfoWindow.CloseClickHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addContentChangedListener(InfoWindow.ContentChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addContentChangedListenerOnce(InfoWindow.ContentChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addDomReadyListener(InfoWindow.DomReadyHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addDomReadyListenerOnce(InfoWindow.DomReadyHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addPositionChangedListener(InfoWindow.PositionChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addPositionChangedListenerOnce(InfoWindow.PositionChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addZIndexChangedListener(InfoWindow.ZIndexChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addZIndexChangedListenerOnce(InfoWindow.ZIndexChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
clearCloseClickListeners()
Removes all listeners for the given event for the given instance. |
void |
clearContentChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearDomReadyListeners()
Removes all listeners for the given event for the given instance. |
void |
clearInstanceListeners()
Removes all listeners for all events for the given instance. |
void |
clearPositionChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearZIndexChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
close()
Closes this InfoWindow by removing it from the DOM structure. |
static InfoWindow |
create()
Creates an info window with the given options. |
static InfoWindow |
create(InfoWindowOptions opts)
Creates an info window with the given options. |
LatLng |
getPosition()
|
double |
getZIndex()
|
void |
open()
Opens this InfoWindow on the given map. |
void |
open(GoogleMap map)
Opens this InfoWindow on the given map. |
void |
open(GoogleMap map,
MVCObject anchor)
Opens this InfoWindow on the given map. |
void |
open(MVCObject anchor)
Opens this InfoWindow on the given map. |
void |
open(StreetViewPanorama map)
Opens this InfoWindow on the given map. |
void |
open(StreetViewPanorama map,
MVCObject anchor)
Opens this InfoWindow on the given map. |
void |
setContent(Node content)
|
void |
setContent(java.lang.String content)
|
void |
setOptions(InfoWindowOptions options)
|
void |
setPosition(LatLng position)
|
void |
setZIndex(double zIndex)
|
void |
triggerCloseClick(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerContentChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerDomReady(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerPositionChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerZIndexChanged(JavaScriptObject... varargs)
Triggers the given event. |
Methods inherited from class com.google.maps.gwt.client.MVCObject |
---|
bindTo, bindTo, bindTo, bindTo, changed, get, notify, set, setValues, setValues, unbind, unbindAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected InfoWindow()
Method Detail |
---|
public static InfoWindow create(InfoWindowOptions opts)
public static InfoWindow create()
public final void addCloseClickListener(InfoWindow.CloseClickHandler handler)
public final void addCloseClickListenerOnce(InfoWindow.CloseClickHandler handler)
public final void addContentChangedListener(InfoWindow.ContentChangedHandler handler)
public final void addContentChangedListenerOnce(InfoWindow.ContentChangedHandler handler)
public final void addDomReadyListener(InfoWindow.DomReadyHandler handler)
public final void addDomReadyListenerOnce(InfoWindow.DomReadyHandler handler)
public final void addPositionChangedListener(InfoWindow.PositionChangedHandler handler)
public final void addPositionChangedListenerOnce(InfoWindow.PositionChangedHandler handler)
public final void addZIndexChangedListener(InfoWindow.ZIndexChangedHandler handler)
public final void addZIndexChangedListenerOnce(InfoWindow.ZIndexChangedHandler handler)
public final void clearCloseClickListeners()
public final void clearContentChangedListeners()
public final void clearDomReadyListeners()
public final void clearInstanceListeners()
public final void clearPositionChangedListeners()
public final void clearZIndexChangedListeners()
public final void close()
public final LatLng getPosition()
public final double getZIndex()
public final void open(GoogleMap map, MVCObject anchor)
public final void open(GoogleMap map)
public final void open(StreetViewPanorama map, MVCObject anchor)
public final void open(StreetViewPanorama map)
public final void open(MVCObject anchor)
public final void open()
public final void setContent(java.lang.String content)
public final void setContent(Node content)
public final void setOptions(InfoWindowOptions options)
public final void setPosition(LatLng position)
public final void setZIndex(double zIndex)
public final void triggerCloseClick(JavaScriptObject... varargs)
public final void triggerContentChanged(JavaScriptObject... varargs)
public final void triggerDomReady(JavaScriptObject... varargs)
public final void triggerPositionChanged(JavaScriptObject... varargs)
public final void triggerZIndexChanged(JavaScriptObject... varargs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |