|
|||||||||
| 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<AnnotatedTimeLine.Options>
com.google.gwt.visualization.client.visualizations.AnnotatedTimeLine
public class AnnotatedTimeLine
Annotated timeline visualization. May be loaded by calling:
google.load("visualization", "1", {packages:["annotatedtimeline"]});
| Nested Class Summary | |
|---|---|
static class |
AnnotatedTimeLine.AnnotatedLegendPosition
Where to put the colored legend with respect to the date. |
static class |
AnnotatedTimeLine.HighlightDotMode
The highlighting mode: The nearest dot to the mouse (default), or the last one before the mouse (to the left of it). |
static class |
AnnotatedTimeLine.Options
Options for drawing the chart. |
static class |
AnnotatedTimeLine.ScaleType
Scale type for the timeline. |
static class |
AnnotatedTimeLine.WindowMode
Flash/IE "wmode" parameter. |
| 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 | |
|---|---|
AnnotatedTimeLine(AbstractDataTable data,
AnnotatedTimeLine.Options options,
java.lang.String width,
java.lang.String height)
|
|
AnnotatedTimeLine(java.lang.String width,
java.lang.String height)
|
|
| Method Summary | |
|---|---|
void |
addRangeChangeHandler(RangeChangeHandler handler)
|
void |
addReadyHandler(ReadyHandler handler)
|
void |
addSelectHandler(SelectHandler 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. |
com.google.gwt.core.client.JsArray<Selection> |
getSelections()
|
DateRange |
getVisibleChartRange()
|
void |
hideDataColumns(int... columnIndexes)
|
void |
hideDataColumns(com.google.gwt.core.client.JsArrayInteger columnIndexes)
|
void |
setVisibleChartRange(java.util.Date startTime,
java.util.Date endTime)
|
void |
showDataColumns(int... columnIndexes)
|
void |
showDataColumns(com.google.gwt.core.client.JsArrayInteger columnIndexes)
|
| 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 AnnotatedTimeLine(AbstractDataTable data,
AnnotatedTimeLine.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 visualization
public AnnotatedTimeLine(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 visualization| Method Detail |
|---|
public final void addRangeChangeHandler(RangeChangeHandler handler)
public final void addReadyHandler(ReadyHandler handler)
public final void addSelectHandler(SelectHandler handler)
public final com.google.gwt.core.client.JsArray<Selection> getSelections()
public final DateRange getVisibleChartRange()
public final void hideDataColumns(int... columnIndexes)
public final void hideDataColumns(com.google.gwt.core.client.JsArrayInteger columnIndexes)
public final void setVisibleChartRange(java.util.Date startTime,
java.util.Date endTime)
public final void showDataColumns(int... columnIndexes)
public final void showDataColumns(com.google.gwt.core.client.JsArrayInteger columnIndexes)
protected com.google.gwt.core.client.JavaScriptObject createJso(com.google.gwt.dom.client.Element parent)
Visualization
createJso in class Visualization<AnnotatedTimeLine.Options>parent - The container for the visualization.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||