4 /** This class allows FITS binary and ASCII tables to
5 * be accessed via a common interface.
8 public interface TableData {
10 public abstract Object[] getRow (int row) throws FitsException;
11 public abstract Object getColumn (int col) throws FitsException;
12 public abstract Object getElement(int row, int col) throws FitsException;
14 public abstract void setRow (int row, Object[] newRow) throws FitsException;
15 public abstract void setColumn (int col, Object newCol) throws FitsException;
16 public abstract void setElement (int row, int col, Object element) throws FitsException;
18 public abstract int addRow (Object[] newRow) throws FitsException;
19 public abstract int addColumn(Object newCol) throws FitsException;
21 public abstract void deleteRows(int row, int len) throws FitsException;
22 public abstract void deleteColumns(int row, int len) throws FitsException;
24 public abstract void updateAfterDelete(int oldNcol, Header hdr) throws FitsException;
26 public abstract int getNCols();
27 public abstract int getNRows();