public class IlvDataSetPoint extends Object implements Serializable, Cloneable
Note: An instance of this class is serializable if and only if the data set to which it belongs is serializable.
Modifier and Type | Field and Description |
---|---|
IlvDataSet |
dataSet
The data set to which the data point belongs.
|
int |
index
The index of the data point in the data set.
|
Constructor and Description |
---|
IlvDataSetPoint()
Creates a new
IlvDataSetPoint . |
IlvDataSetPoint(IlvDataSet dataSet,
int index)
Creates a new
IlvDataSetPoint representing the data
at the given index in the specified data set. |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Returns a copy of this data point.
|
boolean |
equals(Object obj)
Determines whether two data points are equal.
|
IlvDataPoints |
getData()
Returns an
IlvDataPoints object representing this data point. |
IlvDataSet |
getDataSet()
Returns the data set to which this data point belongs.
|
int |
getIndex()
Returns the index at which this data point is stored in the data set.
|
double |
getXData()
Returns the X value of this data point.
|
double |
getYData()
Returns the Y value of this data point.
|
int |
hashCode()
Returns the hash code of the data point.
|
void |
setData(double x,
double y)
Changes the values of this data point.
|
String |
toString()
Returns a string representation of this data point.
|
public IlvDataSet dataSet
public int index
public IlvDataSetPoint()
IlvDataSetPoint
.public IlvDataSetPoint(IlvDataSet dataSet, int index)
IlvDataSetPoint
representing the data
at the given index in the specified data set.public final double getXData()
public final double getYData()
public final IlvDataPoints getData()
IlvDataPoints
object representing this data point.
For optimal performance, you should dispose()
the resulting
object when done with it.
public IlvDataSet getDataSet()
public int getIndex()
public void setData(double x, double y)
IlvDataSet#setData
method.public int hashCode()
public String toString()
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.