JSci.awt
Class DefaultGraph3DModel.DataSeries
java.lang.Object
javax.swing.table.AbstractTableModel
JSci.awt.DefaultGraph3DModel.DataSeries
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
- Enclosing class:
- DefaultGraph3DModel
public static class DefaultGraph3DModel.DataSeries
- extends javax.swing.table.AbstractTableModel
The DataSeries class encapsulates a data series for a graph.
- See Also:
- Serialized Form
Field Summary |
protected float[] |
series
|
protected float[] |
xAxis
|
protected float[] |
yAxis
|
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xAxis
protected float[] xAxis
yAxis
protected float[] yAxis
series
protected float[] series
DefaultGraph3DModel.DataSeries
protected DefaultGraph3DModel.DataSeries()
DefaultGraph3DModel.DataSeries
public DefaultGraph3DModel.DataSeries(float[] xValues,
float[] yValues,
float[] zValues)
DefaultGraph3DModel.DataSeries
public DefaultGraph3DModel.DataSeries(float[] xValues,
float[] yValues,
double[] zValues)
DefaultGraph3DModel.DataSeries
public DefaultGraph3DModel.DataSeries(double[] xValues,
double[] yValues,
double[] zValues)
setXAxis
public void setXAxis(float[] xValues)
setXAxis
public void setXAxis(double[] xValues)
setYAxis
public void setYAxis(float[] yValues)
setYAxis
public void setYAxis(double[] yValues)
setValues
public void setValues(float[] zValues)
setValues
public void setValues(double[] zValues)
getXCoord
public float getXCoord(int i)
setXCoord
public void setXCoord(int i,
float x)
getYCoord
public float getYCoord(int i)
setYCoord
public void setYCoord(int i,
float y)
getValue
public float getValue(int i)
setValue
public void setValue(int i,
float z)
length
public int length()
setVisible
public final void setVisible(boolean flag)
isVisible
public final boolean isVisible()
getColumnName
public java.lang.String getColumnName(int col)
- Specified by:
getColumnName
in interface javax.swing.table.TableModel
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
getColumnClass
public java.lang.Class getColumnClass(int col)
- Specified by:
getColumnClass
in interface javax.swing.table.TableModel
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
getRowCount
public final int getRowCount()
getColumnCount
public final int getColumnCount()
getValueAt
public java.lang.Object getValueAt(int row,
int col)
setValueAt
public void setValueAt(java.lang.Object value,
int row,
int col)
- Specified by:
setValueAt
in interface javax.swing.table.TableModel
- Overrides:
setValueAt
in class javax.swing.table.AbstractTableModel
isCellEditable
public boolean isCellEditable(int row,
int col)
- Specified by:
isCellEditable
in interface javax.swing.table.TableModel
- Overrides:
isCellEditable
in class javax.swing.table.AbstractTableModel