public class IncrementalResultSetTableModel extends Object implements TableModel
| Constructor and Description |
|---|
IncrementalResultSetTableModel(ResultSet set)
This constructor creates a TableModel from a ResultSet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener l) |
void |
close()
Call this when done with the table model.
|
protected void |
finalize()
Automatically close when we're garbage collected
|
Class |
getColumnClass(int column) |
int |
getColumnCount() |
String |
getColumnName(int column) |
int |
getRowCount() |
Object |
getValueAt(int row,
int column)
This is the key method of TableModel: it returns the value at each cell
of the table.
|
boolean |
isCellEditable(int row,
int column) |
void |
removeTableModelListener(TableModelListener l) |
void |
setValueAt(Object value,
int row,
int column) |
public IncrementalResultSetTableModel(ResultSet set) throws SQLException
SQLExceptionpublic void close()
protected void finalize()
public int getColumnCount()
getColumnCount in interface TableModelpublic int getRowCount()
getRowCount in interface TableModelpublic String getColumnName(int column)
getColumnName in interface TableModelpublic Class getColumnClass(int column)
getColumnClass in interface TableModelpublic Object getValueAt(int row, int column)
getValueAt in interface TableModelpublic boolean isCellEditable(int row,
int column)
isCellEditable in interface TableModelpublic void setValueAt(Object value, int row, int column)
setValueAt in interface TableModelpublic void addTableModelListener(TableModelListener l)
addTableModelListener in interface TableModelpublic void removeTableModelListener(TableModelListener l)
removeTableModelListener in interface TableModelCopyright © 2009–2020 KRDB Research Centre for Knowledge and Data, Free University of Bozen-Bolzano. All rights reserved.