public class CachedRowSetTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected int |
page |
protected CachedRowSet |
records |
listenerList| Constructor and Description |
|---|
CachedRowSetTableModel() |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
protected int |
getOffset() |
CachedRowSet |
getRecords() |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
boolean |
nextPage() |
boolean |
previousPage() |
void |
setRecords(CachedRowSet records) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListenerprotected CachedRowSet records
protected int page
public int getColumnCount()
public int getRowCount()
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic Object getValueAt(int rowIndex, int columnIndex)
public Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelisCellEditable in class AbstractTableModelpublic CachedRowSet getRecords()
protected int getOffset()
public void setRecords(CachedRowSet records)
public boolean nextPage()
throws SQLException
SQLExceptionpublic boolean previousPage()
throws SQLException
SQLExceptionCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.