org.jscience.io.fits
Class FitsASCIITableData
java.lang.Object
org.jscience.io.fits.FitsData
org.jscience.io.fits.FitsTableData
org.jscience.io.fits.FitsASCIITableData
- All Implemented Interfaces:
- javax.swing.table.TableModel
public class FitsASCIITableData
- extends FitsTableData
******************************************************************************
*******************************************************************************
|
Constructor Summary |
FitsASCIITableData(FitsHeader header)
******************************************************************************
******************************************************************************* |
|
Method Summary |
java.lang.Object |
getValueAt(int row,
int col)
***********************************************************************
Return the value for a given row and column. |
void |
setValueAt(java.lang.Object value,
int row,
int col)
******************************************************************************
******************************************************************************* |
| Methods inherited from class org.jscience.io.fits.FitsTableData |
addTableModelListener, findColumn, fireTableModelEvent, fireTableModelEvent, getColumn, getColumnClass, getColumnCount, getColumnName, getRowCount, goToElement, isCellEditable, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FitsASCIITableData
public FitsASCIITableData(FitsHeader header)
throws FitsException
- ******************************************************************************
*******************************************************************************
- Throws:
FitsException
getValueAt
public java.lang.Object getValueAt(int row,
int col)
- ***********************************************************************
Return the value for a given row and column.
This method is to satisfy the contract for the TableModel interface
It catches FitsExceptions and returns a null pointer if there is an error.
- Parameters:
row - the desired row counting from zerocol - the desired column counting from zero.
- Returns:
- the tabel value. This can be a Number, Boolean, String, List or null.
Lists are used to return vector elements and null is returned
if there is an error in the FITS format of the table.
************************************************************************
setValueAt
public void setValueAt(java.lang.Object value,
int row,
int col)
- ******************************************************************************
*******************************************************************************