|
|||||||||
| 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<MotionChart.Options>
com.google.gwt.visualization.client.visualizations.MotionChart
public class MotionChart
Motion Chart visualization. Note that this chart does not work when loading the HTML from a local file. It works only when loading the HTML from a web server.
| Nested Class Summary | |
|---|---|
static class |
MotionChart.Options
Options for drawing the chart. |
| 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 | |
|---|---|
MotionChart()
|
|
MotionChart(AbstractDataTable data,
MotionChart.Options options)
|
|
| Method Summary | |
|---|---|
void |
addReadyHandler(ReadyHandler handler)
|
void |
addStateChangeHandler(StateChangeHandler handler)
|
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. |
java.lang.String |
getState()
Returns the current state of the MotionChart, serialized to a JSON
string. |
| 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 |
|---|
addDomHandler, addHandler, 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, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, 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 MotionChart()
public MotionChart(AbstractDataTable data,
MotionChart.Options options)
| Method Detail |
|---|
public final void addReadyHandler(ReadyHandler handler)
public final void addStateChangeHandler(StateChangeHandler handler)
public final java.lang.String getState()
MotionChart, serialized to a JSON
string. To assign this state to the chart, assign this string to the state
option in the draw() method. This is often used to specify a custom chart
state on startup, instead of using the default state.
null if the state was not supplied by
MotionChart.Options.setState(String) or a statechange event
has not yet fired.protected com.google.gwt.core.client.JavaScriptObject createJso(com.google.gwt.dom.client.Element parent)
Visualization
createJso in class Visualization<MotionChart.Options>parent - The container for the visualization.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||