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, removeTableModelListener
protected CachedRowSet records
protected int page
public int getColumnCount()
public int getRowCount()
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public Object getValueAt(int rowIndex, int columnIndex)
public Class<?> getColumnClass(int columnIndex)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public CachedRowSet getRecords()
protected int getOffset()
public void setRecords(CachedRowSet records)
public boolean nextPage() throws SQLException
SQLException
public boolean previousPage() throws SQLException
SQLException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.