org.jrdf.gui.view
Class ResultsTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by 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

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ResultsTableModel()
           
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int col)
           
 int getRowCount()
           
 Object getValueAt(int row, int col)
           
 void setResults(Answer answer)
           
 
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
 

Constructor Detail

ResultsTableModel

public ResultsTableModel()
Method Detail

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)