|
||||||||||
| 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.user.client.ui.Composite
ca.nanometrics.gflot.client.PlotWithInteractiveLegend
public class PlotWithInteractiveLegend
| Nested Class Summary |
|---|
| 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 |
|---|
| Fields inherited from class com.google.gwt.user.client.ui.UIObject |
|---|
DEBUG_ID_PREFIX |
| Constructor Summary | |
|---|---|
PlotWithInteractiveLegend(PlotWidget plot)
|
|
| Method Summary | |
|---|---|
void |
addClickListener(PlotClickListener listener,
boolean onlyOnDatapoint)
|
void |
addHoverListener(PlotHoverListener listener,
boolean onlyOnDatapoint)
|
void |
addLegendWidget(SeriesHandler handler,
com.google.gwt.user.client.ui.Widget widget)
|
void |
addSelectionListener(SelectionListener listener)
|
int |
getHeight()
|
PlotModel |
getModel()
|
com.google.gwt.user.client.ui.Widget |
getWidget()
|
int |
getWidth()
|
void |
onAddSeries(PlotModel model,
java.lang.String label,
java.lang.String color,
SeriesHandler handler)
|
void |
onRemoveSeries(PlotModel model,
SeriesHandler handler)
|
void |
redraw()
|
void |
setHeight(int height)
|
void |
setLinearSelection(double x1,
double x2)
|
void |
setRectangularSelection(double x1,
double y1,
double x2,
double y2)
|
void |
setWidth(int width)
|
| Methods inherited from class com.google.gwt.user.client.ui.Composite |
|---|
initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
| Methods inherited from class com.google.gwt.user.client.ui.Widget |
|---|
doAttachChildren, doDetachChildren, getParent, onLoad, onUnload, removeFromParent |
| 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, sinkEvents, toString, unsinkEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PlotWithInteractiveLegend(PlotWidget plot)
| Method Detail |
|---|
public void addClickListener(PlotClickListener listener,
boolean onlyOnDatapoint)
addClickListener in interface PlotWidget
public void addHoverListener(PlotHoverListener listener,
boolean onlyOnDatapoint)
addHoverListener in interface PlotWidgetpublic void addSelectionListener(SelectionListener listener)
addSelectionListener in interface PlotWidgetpublic int getHeight()
getHeight in interface PlotWidgetpublic int getWidth()
getWidth in interface PlotWidgetpublic void setHeight(int height)
setHeight in interface PlotWidget
public void setLinearSelection(double x1,
double x2)
setLinearSelection in interface PlotWidget
public void setRectangularSelection(double x1,
double y1,
double x2,
double y2)
setRectangularSelection in interface PlotWidgetpublic void setWidth(int width)
setWidth in interface PlotWidgetpublic void redraw()
redraw in interface PlotWidgetpublic com.google.gwt.user.client.ui.Widget getWidget()
getWidget in interface PlotWidgetgetWidget in class com.google.gwt.user.client.ui.Compositepublic PlotModel getModel()
getModel in interface PlotWidget
public void addLegendWidget(SeriesHandler handler,
com.google.gwt.user.client.ui.Widget widget)
public void onAddSeries(PlotModel model,
java.lang.String label,
java.lang.String color,
SeriesHandler handler)
onAddSeries in interface PlotModel.PlotModelListener
public void onRemoveSeries(PlotModel model,
SeriesHandler handler)
onRemoveSeries in interface PlotModel.PlotModelListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||