|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The mapping interface for JClass Chart 3D.
Method Summary | |
com.klg.jclass.chart3d.Mapping |
createMapping(com.klg.jclass.chart3d.Chart3dData data)
Create a mapping instance based on the data type |
com.klg.jclass.chart3d.Chart3dData |
getData()
Returns the internal data object whose type determines the type of MapPick object required. |
Point3d |
map(int x,
int y)
Performs a map operation by mapping the provided screen pixel information to a value in data space. |
com.klg.jclass.chart3d.JCData3dIndex |
pick(int x,
int y)
Performs a pick operation by returning the index of the closest point in the data set to the given screen point. |
Point |
unmap(Point3d point)
Performs an unmap operation by transforming the given data point to the position on the screen where it would be drawn. |
Point |
unpick(com.klg.jclass.chart3d.JCData3dIndex index)
Performs an unpick operation by returning the screen point that corresponds to the given data index. |
Method Detail |
public Point3d map(int x, int y)
x
- x value in screen pixelsy
- y value in screen pixels
public Point unmap(Point3d point)
point
- The data point to be unmapped.
public com.klg.jclass.chart3d.JCData3dIndex pick(int x, int y)
x
- x value in screen pixelsy
- y value in screen pixelspublic Point unpick(com.klg.jclass.chart3d.JCData3dIndex index)
index
- The data index of the point whose screen point is required.public com.klg.jclass.chart3d.Chart3dData getData()
MapPick
object required.
public com.klg.jclass.chart3d.Mapping createMapping(com.klg.jclass.chart3d.Chart3dData data)
data
- The data on which to base the creation
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |