org.escot
Interface TableProperty

All Superinterfaces:
TableModel

public interface TableProperty
extends TableModel

A table data type.


Method Summary
 Number getNumberValueAt(int rowIndex, int columnIndex)
          convenience method to avoid casting all the time; returns null for non-numeric cells, and the number for numeric cells.
 String getStringValueAt(int rowIndex, int columnIndex)
          convenience method to avoid casting all the time;
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

getNumberValueAt

public Number getNumberValueAt(int rowIndex,
                               int columnIndex)
convenience method to avoid casting all the time; returns null for non-numeric cells, and the number for numeric cells.
Parameters:
rowIndex - the row of the cell
columnIndex - the column of the cell
Returns:
the number in this cell, or null if it is a non-numeric cell.

getStringValueAt

public String getStringValueAt(int rowIndex,
                               int columnIndex)
convenience method to avoid casting all the time;
Parameters:
rowIndex - the row of the cell
columnIndex - the column of the cell
Returns:
the String in the cell