public class SoundingTable.SoundingTableModel
extends javax.swing.table.AbstractTableModel
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
getColumnClass(int c)
JTable uses this method to determine the default renderer
editor for each cell.
|
int |
getColumnCount()
number of columns
|
java.lang.String |
getColumnName(int col)
Get name of column
|
int |
getRowCount()
Get number of rows
|
java.lang.Object |
getValueAt(int row,
int col)
Get value at column/row
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public int getColumnCount()
public int getRowCount()
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
col
- column numberpublic java.lang.Object getValueAt(int row, int col)
row
- the rowcol
- the columnpublic java.lang.Class getColumnClass(int c)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
c
- column number