public abstract class InfoWindowBase
extends java.lang.Object
Constructor and Description |
---|
InfoWindowBase() |
Modifier and Type | Method and Description |
---|---|
static boolean |
assertLoaded()
Check that the esri.InfoWindowBase has been loaded
|
Point |
getCurrentPoint() |
com.google.gwt.dom.client.Element |
getDomNode()
The reference to a DOM node where the info window is constructed.
|
com.google.gwt.core.client.JavaScriptObject |
getInfoWindowBaseObject() |
void |
hide()
Hide the info window.
|
abstract void |
init() |
boolean |
isShowing()
Indicates if the info window is visible.
|
void |
load()
Call this method in the constructor of your inheriting child class.
|
abstract void |
onHide()
Fires after the info window is hidden.
|
abstract void |
onShow()
Fires after the info window becomes visible.
|
void |
resize(int width,
int height)
Resize the info window to the specified width and height (in pixels).
|
abstract void |
setContent(java.lang.String content) |
void |
setMap(MapWidget map)
This method is called by the map when the object is set as its info window.
|
abstract void |
setTitle(java.lang.String title) |
void |
show(Point loc)
Display the info window at the specified location.
|
void |
update() |
public void load()
public abstract void init()
public abstract void setContent(java.lang.String content)
public abstract void setTitle(java.lang.String title)
public static boolean assertLoaded()
public com.google.gwt.core.client.JavaScriptObject getInfoWindowBaseObject()
public final com.google.gwt.dom.client.Element getDomNode()
public boolean isShowing()
public final void hide()
public final void resize(int width, int height)
width
- - width of window.height
- - height of window.public void setMap(MapWidget map)
map
- - MapWidgetpublic void show(Point loc)
location
- - location window will be shown atpublic void update()
public Point getCurrentPoint()
public abstract void onHide()
public abstract void onShow()