|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.visualization.client.visualizations.Visualization<MapVisualization.Options>
com.google.gwt.visualization.client.visualizations.MapVisualization
public class MapVisualization
Map visualization using the Google Maps API. Data values are displayed as points on the map. Data values can be coordinates or addresses. You need to load the Google Maps API with a valid Maps key in order to use this visualization.
Nested Class Summary | |
---|---|
static class |
MapVisualization.Options
Options for drawing the chart. |
static class |
MapVisualization.Type
The type of map to use. |
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary | |
---|---|
static java.lang.String |
PACKAGE
|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
MapVisualization(AbstractDataTable data,
MapVisualization.Options options,
java.lang.String width,
java.lang.String height)
|
|
MapVisualization(java.lang.String width,
java.lang.String height)
|
Method Summary | |
---|---|
void |
addSelectHandler(SelectHandler handler)
Add a SelectHandler to the visualization. |
protected com.google.gwt.core.client.JavaScriptObject |
createJso(com.google.gwt.dom.client.Element parent)
Creates an instance of the underlying JavaScriptObject for this visualization. |
com.google.gwt.core.client.JsArray<Selection> |
getSelections()
Get the Selections that are currently selected. |
void |
setSelections(com.google.gwt.core.client.JsArray<Selection> sel)
Set the Selections on the Selectable visualization. |
Methods inherited from class com.google.gwt.visualization.client.visualizations.Visualization |
---|
createDiv, draw, draw, getJso, onLoad, setSize |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isAttached, isOrWasAttached, onAttach, onBrowserEvent, onDetach, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PACKAGE
Constructor Detail |
---|
public MapVisualization(AbstractDataTable data, MapVisualization.Options options, java.lang.String width, java.lang.String height)
data
- data to visualizeoptions
- Optional parameters for the visualizationwidth
- the CSS specifier for the width of the visualizationheight
- the CSS specifier for the height of the visualizationpublic MapVisualization(java.lang.String width, java.lang.String height)
width
- the CSS specifier for the width of the visualizationheight
- the CSS specifier for the height of the visualizationMethod Detail |
---|
public final void addSelectHandler(SelectHandler handler)
Selectable
addSelectHandler
in interface Selectable
handler
- A SelectHandler.public final com.google.gwt.core.client.JsArray<Selection> getSelections()
Selectable
getSelections
in interface Selectable
public final void setSelections(com.google.gwt.core.client.JsArray<Selection> sel)
Selectable
setSelections
in interface Selectable
sel
- An array of Selections.protected com.google.gwt.core.client.JavaScriptObject createJso(com.google.gwt.dom.client.Element parent)
Visualization
createJso
in class Visualization<MapVisualization.Options>
parent
- The container for the visualization.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |