org.jrdf.gui.view
Class ResultsTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.jrdf.gui.view.ResultsTableModel
- All Implemented Interfaces:
- Serializable, TableModel
public class ResultsTableModel
- extends AbstractTableModel
Display and Update results to a table.
- Version:
- $Revision:$
- Author:
- Andrew Newman
- See Also:
- Serialized Form
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultsTableModel
public ResultsTableModel()
setResults
public void setResults(Answer answer)
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
getColumnName
public String getColumnName(int col)
- Specified by:
getColumnName
in interface TableModel
- Overrides:
getColumnName
in class AbstractTableModel
getValueAt
public Object getValueAt(int row,
int col)