org.jscience.io.fits
Class FitsASCIITableData

java.lang.Object
  extended by org.jscience.io.fits.FitsData
      extended by org.jscience.io.fits.FitsTableData
          extended by org.jscience.io.fits.FitsASCIITableData
All Implemented Interfaces:
javax.swing.table.TableModel

public class FitsASCIITableData
extends FitsTableData

******************************************************************************

*******************************************************************************


Field Summary
 
Fields inherited from class org.jscience.io.fits.FitsData
data, interpreter, isComplete, PADDING, setter, valid_bytes
 
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 org.jscience.io.fits.FitsData
available, blockCount, createFrom, data, goToByte, incrementValidBytes, isComplete, setValidBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FitsASCIITableData

public FitsASCIITableData(FitsHeader header)
                   throws FitsException
******************************************************************************

*******************************************************************************

Throws:
FitsException
Method Detail

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 zero
col - 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)
******************************************************************************

*******************************************************************************