All Packages Class Hierarchy This Package Previous Next Index
Class jclass.chart.JCDataIndex
java.lang.Object
|
+----jclass.chart.JCDataIndex
- public class JCDataIndex
- extends Object
Object containing a unique index to a data point in Chart.
Contains a data series instance and an index representing the
point within the data series.
-
JCDataIndex(ChartDataView, ChartDataViewSeries, int, int)
-
-
JCDataIndex(int, ChartDataViewSeries)
-
-
equals(Object)
-
-
getDataView()
- Gets the value of the DataView property for the JCDataIndex instance.
-
getDistance()
- Gets the value of the Distance property for the JCDataIndex instance.
-
getObject()
- Gets the value of the Obj property for the JCDataIndex instance.
-
getPoint()
- Gets the value of the Point property for the JCDataIndex instance.
-
getSeries()
- Gets the value of the Series property for the JCDataIndex instance.
-
getSeriesIndex()
- Gets the value of the SeriesIndex property for the JCDataIndex instance.
JCDataIndex
public JCDataIndex(int p,
ChartDataViewSeries s)
JCDataIndex
public JCDataIndex(ChartDataView dv,
ChartDataViewSeries s,
int i,
int p)
getDataView
public ChartDataView getDataView()
- Gets the value of the DataView property for the JCDataIndex instance.
The DataView property holds the data view selected by a pick
operation.
- Returns:
- ChartDataView instance
getSeries
public ChartDataViewSeries getSeries()
- Gets the value of the Series property for the JCDataIndex instance.
The Series property holds the data series selected by a pick
operation.
- Returns:
- ChartDataViewSeries instance
getSeriesIndex
public int getSeriesIndex()
- Gets the value of the SeriesIndex property for the JCDataIndex instance.
The SeriesIndex property holds the index of the data series selected by
a pick operation or JCPieChartFormat.OTHER_SLICE if the other slice in
a pie chart was picked.
- Returns:
- the series index
getPoint
public int getPoint()
- Gets the value of the Point property for the JCDataIndex instance.
The Point property holds the point selected by a pick operation.
- Returns:
- Index of the selected point
getDistance
public int getDistance()
- Gets the value of the Distance property for the JCDataIndex instance.
The Distance property holds the distance from the point selected by a
pick operation.
- Returns:
- Distance from the selected point
getObject
public Object getObject()
- Gets the value of the Obj property for the JCDataIndex instance.
The Obj property holds the object selected by a pick operation.
- Returns:
- Selected Object
equals
public boolean equals(Object o)
- Overrides:
- equals in class Object
All Packages Class Hierarchy This Package Previous Next Index