public class ResultVectorTableModel extends javax.swing.table.AbstractTableModel implements RevisionHandler
ResultVectorTableModel.java
Authors: Rainer Holzmann, Zhanna Melnikova-Albrecht
Date: Sep 12, 2004
Time: 9:23:31 PM
$ Revision 1.4 $
Constructor and Description |
---|
ResultVectorTableModel(FastVector resultVector)
Constructs a default
DefaultTableModel
which is a table of zero columns and zero rows. |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns of this model.
|
java.lang.String |
getRevision()
Returns the revision string.
|
int |
getRowCount()
Returns the number of rows of this model.
|
java.lang.Object |
getValueAt(int row,
int column)
Returns the value for the JTable for a given position.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public ResultVectorTableModel(FastVector resultVector)
DefaultTableModel
which is a table of zero columns and zero rows.public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
public java.lang.Object getValueAt(int row, int column)
getValueAt
in interface javax.swing.table.TableModel
row
- The row of the valuecolumn
- The column of the valuepublic java.lang.String getRevision()
getRevision
in interface RevisionHandler