public final class DefaultGraph3DModel extends AbstractGraphModel implements Graph3DModel
| Constructor and Description |
|---|
DefaultGraph3DModel() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSeries(float[] newSeries)
Add a data series.
|
void |
changeSeries(int i,
float[] newSeries)
Change a data series.
|
void |
firstSeries()
Selects the first data series.
|
DataSeries |
getSeries(int i) |
float[] |
getXAxis()
Get the x-axis values.
|
float |
getXCoord(int i)
Returns the x coordinate for the ith point.
|
float[] |
getYAxis()
Get the y-axis values.
|
float |
getYCoord(int i)
Returns the y coordinate for the ith point.
|
float |
getZCoord(int i)
Returns the z coordinate for the ith point.
|
boolean |
nextSeries()
Selects the next data series.
|
void |
removeSeries(int i)
Remove a data series.
|
int |
seriesLength()
Returns the number of data points in the current series.
|
void |
setSeriesVisible(int i,
boolean flag) |
void |
setXAxis(float[] x)
Sets the x-axis values.
|
void |
setYAxis(float[] y)
Sets the y-axis values.
|
addGraphDataListener, fireDataChanged, removeGraphDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddGraphDataListener, removeGraphDataListenerpublic void setXAxis(float[] x)
public float[] getXAxis()
public void setYAxis(float[] y)
public float[] getYAxis()
public void addSeries(float[] newSeries)
public void changeSeries(int i,
float[] newSeries)
public void removeSeries(int i)
public DataSeries getSeries(int i)
public void setSeriesVisible(int i,
boolean flag)
public float getXCoord(int i)
Graph3DModelgetXCoord in interface Graph3DModelpublic float getYCoord(int i)
Graph3DModelgetYCoord in interface Graph3DModelpublic float getZCoord(int i)
Graph3DModelgetZCoord in interface Graph3DModelpublic int seriesLength()
Graph3DModelseriesLength in interface Graph3DModelpublic void firstSeries()
Graph3DModelfirstSeries in interface Graph3DModelpublic boolean nextSeries()
Graph3DModelnextSeries in interface Graph3DModel