|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.awt.AbstractGraphModel JSci.awt.Point2DListModel
public final class Point2DListModel
The Point2DListModel provides a convenient implementation of the Graph2DModel interface based upon a List of Point2D objects.
Constructor Summary | |
---|---|
Point2DListModel()
|
Method Summary | |
---|---|
void |
firstSeries()
Selects the first data series. |
float |
getXCoord(int i)
Returns the x coordinate for the ith point. |
float |
getYCoord(int i)
Returns the y coordinate for the ith point. |
boolean |
nextSeries()
Selects the next data series. |
int |
seriesLength()
Returns the number of data points in the current series. |
void |
setData(java.util.List points)
Sets the list of points to be plotted. |
Methods inherited from class JSci.awt.AbstractGraphModel |
---|
addGraphDataListener, fireGraphChanged, fireGraphDataChanged, fireGraphSeriesUpdated, removeGraphDataListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface JSci.awt.Graph2DModel |
---|
addGraphDataListener, removeGraphDataListener |
Constructor Detail |
---|
public Point2DListModel()
Method Detail |
---|
public void setData(java.util.List points)
public float getXCoord(int i)
Graph2DModel
getXCoord
in interface Graph2DModel
public float getYCoord(int i)
Graph2DModel
getYCoord
in interface Graph2DModel
public int seriesLength()
Graph2DModel
seriesLength
in interface Graph2DModel
public void firstSeries()
Graph2DModel
firstSeries
in interface Graph2DModel
public boolean nextSeries()
Graph2DModel
nextSeries
in interface Graph2DModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |