|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.Draw
Abstract class that draws the dataset associated with its dataView parent. Child classes must implement the draw and draw2dPoints methods for the given type of data.
Field Summary | |
protected com.klg.jclass.chart3d.Chart3dDataView |
dataView
|
protected com.klg.jclass.chart3d.Mapping |
mapping
|
protected com.klg.jclass.chart3d.ScreenPoint |
originPoint
|
Method Summary | |
protected abstract void |
draw(Graphics gc)
Draws the graph based on the data. |
protected abstract void |
draw2dPoints(Graphics gc)
Draws 2d points based on the data. |
com.klg.jclass.chart3d.Chart3dDataView |
getDataView()
Gets the value of the dataView property. |
com.klg.jclass.chart3d.Mapping |
getMapping()
Gets the current mapping object. |
protected void |
renderDropLine(Graphics gc,
com.klg.jclass.chart3d.ScreenPoint pt,
com.klg.jclass.chart3d.JCLineStyle lineStyle,
double x,
double y)
Draws a drop line based from the calculated ScreenPoint to the origin. |
protected void |
renderPoint(Graphics gc,
com.klg.jclass.chart3d.JCSymbolStyle symbolStyle,
com.klg.jclass.chart3d.JCLineStyle lineStyle,
com.klg.jclass.chart3d.ScreenPoint pt,
double x,
double y)
Renders the point with given screen point. |
void |
setMapping(com.klg.jclass.chart3d.Mapping mapping)
Sets the mapping object for this draw object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected com.klg.jclass.chart3d.ScreenPoint originPoint
protected com.klg.jclass.chart3d.Chart3dDataView dataView
protected com.klg.jclass.chart3d.Mapping mapping
Method Detail |
public com.klg.jclass.chart3d.Chart3dDataView getDataView()
dataView
property.
The dataView
property points to the containing
Chart3dDataView
for this data object
public com.klg.jclass.chart3d.Mapping getMapping()
public void setMapping(com.klg.jclass.chart3d.Mapping mapping)
mapping
- protected void renderDropLine(Graphics gc, com.klg.jclass.chart3d.ScreenPoint pt, com.klg.jclass.chart3d.JCLineStyle lineStyle, double x, double y)
ScreenPoint
to the origin.
gc
- pt
- lineStyle
- x
- y
- protected void renderPoint(Graphics gc, com.klg.jclass.chart3d.JCSymbolStyle symbolStyle, com.klg.jclass.chart3d.JCLineStyle lineStyle, com.klg.jclass.chart3d.ScreenPoint pt, double x, double y)
gc
- symbolStyle
- lineStyle
- pt
- x
- y
- protected abstract void draw(Graphics gc)
gc
- protected abstract void draw2dPoints(Graphics gc)
gc
-
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |