public class IlvDisplayPoint extends IlvDataSetPoint
dataSet, index
Constructor and Description |
---|
IlvDisplayPoint()
Creates a new
IlvDisplayPoint object associated with
no renderer with no data set. |
IlvDisplayPoint(IlvChartRenderer renderer,
IlvDataSet dataSet)
Creates a new
IlvDisplayPoint object associated with
the specified renderer and data set representing a data at index 0
with (0,0) as coordinates. |
IlvDisplayPoint(IlvChartRenderer renderer,
IlvDataSet dataSet,
int index,
double xCoord,
double yCoord)
Creates a new
IlvDisplayPoint object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns whether this display point is equal to the specified display
point.
|
IlvChartRenderer |
getRenderer()
Returns the chart renderer associated with this display point.
|
double |
getXCoord()
Returns the projected x-coordinate of this display point.
|
double |
getYCoord()
Returns the projected y-coordinate of this display point.
|
boolean |
isEditable()
Indicates whether this point can be edited by modifying its
display coordinates.
|
void |
set(int index,
double xCoord,
double yCoord)
Changes the values of this display point.
|
void |
setCoords(int xCoord,
int yCoord)
Changes the values of the referenced data point,
using the specified projected coordinates.
|
void |
setData(double xData,
double yData)
Changes the values of this display point, using the specified data
values.
|
clone, getData, getDataSet, getIndex, getXData, getYData, hashCode, toString
public IlvDisplayPoint()
IlvDisplayPoint
object associated with
no renderer with no data set.public IlvDisplayPoint(IlvChartRenderer renderer, IlvDataSet dataSet)
IlvDisplayPoint
object associated with
the specified renderer and data set representing a data at index 0
with (0,0)
as coordinates.public IlvDisplayPoint(IlvChartRenderer renderer, IlvDataSet dataSet, int index, double xCoord, double yCoord)
IlvDisplayPoint
object.renderer
- The chart renderer associated with this display point.dataSet
- The data set holding the data it represents.index
- The index of the data in the data set.xCoord
- The projected x-coordinate of the data point.yCoord
- The projected y-coordinate of the data point.public void set(int index, double xCoord, double yCoord)
index
- The index of the data in the data set.xCoord
- The projected x-coordinate of the data point.yCoord
- The projected y-coordinate of the data point.public final IlvChartRenderer getRenderer()
public final double getXCoord()
public final double getYCoord()
public void setCoords(int xCoord, int yCoord)
public void setData(double xData, double yData)
setData
in class IlvDataSetPoint
IlvChartRenderer.setDataPoint(ilog.views.chart.data.IlvDataSet, int, double, double)
public boolean isEditable()
public boolean equals(Object obj)
equals
in class IlvDataSetPoint
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.