|
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.JCData3dIndex
|
+--com.klg.jclass.chart3d.JCData3dGridIndex
JCData3dGridIndex contains a unique index to a grid data point
in Chart3d consisting of a x and a y. It is used by the
chart's pick() methods, and also contains information related to
these operations.
| Field Summary | |
protected int |
x
The x index of selected data point. |
protected int |
y
The y index of the selected data point. |
| Fields inherited from class com.klg.jclass.chart3d.JCData3dIndex |
ALL, dataView, distance, obj, parent |
| Constructor Summary | |
JCData3dGridIndex()
Simple constructor for JCData3dGridIndex. |
|
JCData3dGridIndex(com.klg.jclass.chart3d.Chart3dDataView dataView,
int x,
int y)
Constructor that creates a data index from the standard information needed to create a data index: a data view, an x, and a y. |
|
JCData3dGridIndex(int x,
int y)
Constructor that creates a grid data index from an x and a y. |
|
| Method Summary | |
boolean |
equals(Object o)
Determines if the specified object refers to the same data point as this JCData3dGridIndex instance. |
int |
getX()
Gets the value of the X property. |
int |
getY()
Gets the value of the Y property. |
void |
setX(int x)
Gets the value of the X property. |
void |
setY(int y)
Gets the value of the Y property. |
| Methods inherited from class com.klg.jclass.chart3d.JCData3dIndex |
getDataView, getDistance, getObject, setChanged, setDataView, setDistance, setObject |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected int x
protected int y
| Constructor Detail |
public JCData3dGridIndex()
JCData3dGridIndex.
public JCData3dGridIndex(int x,
int y)
dataView, if needed, must be set via the
setDataView() method.
x - the x index within the datay - the y index within the data
public JCData3dGridIndex(com.klg.jclass.chart3d.Chart3dDataView dataView,
int x,
int y)
dataView - the data view that holds the (x, y) grid
indexx - the x index within the datay - the y index within the data| Method Detail |
public int getX()
public void setX(int x)
x - index of the selected xpublic int getY()
public void setY(int y)
y - index of the selected ypublic boolean equals(Object o)
JCData3dGridIndex instance.
equals in class Objecto - object to compare
JCData3dGridIndex instance
and refers to the same data point as this instance
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||