|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object JSci.awt.AbstractGraphModel JSci.awt.DefaultGraph3DModel
public final class DefaultGraph3DModel
The DefaultGraph3DModel class provides a default implementation of the Graph3DModel interface.
Nested Class Summary | |
---|---|
static class |
DefaultGraph3DModel.DataSeries
The DataSeries class encapsulates a data series for a graph. |
Constructor Summary | |
---|---|
DefaultGraph3DModel()
|
Method Summary | |
---|---|
void |
addSeries(DefaultGraph3DModel.DataSeries newSeries)
Adds a data series. |
void |
addSeries(float[] newSeries)
Adds a data series. |
void |
changeSeries(int i,
DefaultGraph3DModel.DataSeries newSeries)
Changes a data series. |
void |
changeSeries(int i,
float[] newSeries)
Changes a data series. |
void |
firstSeries()
Selects the first data series. |
DefaultGraph3DModel.DataSeries |
getSeries(int i)
|
float |
getXCoord(int i)
Returns the x coordinate for the ith point. |
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)
Removes a data series. |
int |
seriesLength()
Returns the number of data points in the current series. |
void |
setSeriesVisible(int i,
boolean flag)
Convenience method. |
void |
setXAxis(float[] x)
Sets the x-axis values. |
void |
setYAxis(float[] y)
Sets the y-axis values. |
void |
tableChanged(javax.swing.event.TableModelEvent evt)
Implementation of TabelModelListener. |
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.Graph3DModel |
---|
addGraphDataListener, removeGraphDataListener |
Constructor Detail |
---|
public DefaultGraph3DModel()
Method Detail |
---|
public void setXAxis(float[] x)
public void setYAxis(float[] y)
public void addSeries(DefaultGraph3DModel.DataSeries newSeries)
public void addSeries(float[] newSeries)
public void changeSeries(int i, DefaultGraph3DModel.DataSeries newSeries)
public void changeSeries(int i, float[] newSeries)
public void removeSeries(int i)
public DefaultGraph3DModel.DataSeries getSeries(int i)
public void setSeriesVisible(int i, boolean flag)
public void tableChanged(javax.swing.event.TableModelEvent evt)
tableChanged
in interface javax.swing.event.TableModelListener
public float getXCoord(int i)
Graph3DModel
getXCoord
in interface Graph3DModel
public float getYCoord(int i)
Graph3DModel
getYCoord
in interface Graph3DModel
public float getZCoord(int i)
Graph3DModel
getZCoord
in interface Graph3DModel
public int seriesLength()
Graph3DModel
seriesLength
in interface Graph3DModel
public void firstSeries()
Graph3DModel
firstSeries
in interface Graph3DModel
public boolean nextSeries()
Graph3DModel
nextSeries
in interface Graph3DModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |