public class HitResult
extends java.util.EventObject
Constructor and Description |
---|
HitResult(SeriesRenderer renderer,
int index,
double value,
Series series)
Initializes a new instance of the
HitResult class. |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets the data item index within its Series.
|
Plot |
getPlot()
Gets the Plot that has been hit.
|
SeriesRenderer |
getRenderer()
Gets the SeriesRenderer that has been hit.
|
Series |
getSeries()
Gets the Series that has been hit.
|
double |
getValue()
Gets the data item value.
|
void |
setIndex(int value)
Gets the data item index within its Series.
|
void |
setPlot(Plot value)
Gets the Plot that has been hit.
|
void |
setRenderer(SeriesRenderer value)
Gets the SeriesRenderer that has been hit.
|
void |
setSeries(Series value)
Gets the Series that has been hit.
|
void |
setValue(double value)
Gets the data item value.
|
public HitResult(SeriesRenderer renderer, int index, double value, Series series)
HitResult
class.renderer
- A SeriesRenderer whose data item has been hit.index
- An integer index of the data item.value
- The item's value.series
- The Series
that contains the found item.public Plot getPlot()
public void setPlot(Plot value)
public SeriesRenderer getRenderer()
public void setRenderer(SeriesRenderer value)
public int getIndex()
public void setIndex(int value)
public double getValue()
public void setValue(double value)
public Series getSeries()
public void setSeries(Series value)