|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--Canvas
|
+--com.java4less.rchart.swt.ChartCanvas
SWT Canvas that renders a chart. It also captures the mouse events and sends them to the Chart object. You will normally use the ChartViewer class instead of this canvas.
| Field Summary |
| Fields inherited from interface com.java4less.rchart.ChartListener |
EVENT_AFTER_UPDATE, EVENT_BEFORE_UPDATE, EVENT_ENTER_POINT, EVENT_LEAVE_POINT, EVENT_POINT_CLICKED, EVENT_TIP_UPDATE |
| Constructor Summary | |
ChartCanvas(Composite parent,
int style)
create canvas |
|
| Method Summary | |
void |
chartEvent(Chart c,
int type)
chart listener |
Chart |
getChart()
get chart to display |
void |
paintUserExit(Chart c,
ChartGraphics g)
chart listener |
void |
setChart(Chart c)
set chart to display |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChartCanvas(Composite parent,
int style)
parent - style - | Method Detail |
public Chart getChart()
public void setChart(Chart c)
c -
public void paintUserExit(Chart c,
ChartGraphics g)
paintUserExit in interface ChartListenerc - g -
public void chartEvent(Chart c,
int type)
chartEvent in interface ChartListenerc - type -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||