public abstract class AbstractIndexTableModel extends DelegateTableModel
Modifier and Type | Field and Description |
---|---|
protected java.util.ArrayList |
indexList |
delegate
Constructor and Description |
---|
AbstractIndexTableModel(javax.swing.table.TableModel delegate) |
Modifier and Type | Method and Description |
---|---|
int |
getRowCount()
Get the number of rows in the table.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
int |
mapRow(int rowIndex) |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex) |
void |
tableChanged(javax.swing.event.TableModelEvent evt)
Signal that the table has changed in some way.
|
abstract void |
tableRowsDeleted(int column,
int firstRow,
int lastRow) |
abstract void |
tableRowsInserted(int column,
int firstRow,
int lastRow)
Filter the model.
|
abstract void |
tableRowsUpdated(int column,
int firstRow,
int lastRow) |
getColumnClass, getColumnCount, getColumnName, getDelegate, isCellEditable
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public AbstractIndexTableModel(javax.swing.table.TableModel delegate)
public abstract void tableRowsInserted(int column, int firstRow, int lastRow)
public abstract void tableRowsDeleted(int column, int firstRow, int lastRow)
public abstract void tableRowsUpdated(int column, int firstRow, int lastRow)
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
getRowCount
in class DelegateTableModel
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class DelegateTableModel
public void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class DelegateTableModel
public void tableChanged(javax.swing.event.TableModelEvent evt)
tableChanged
in interface javax.swing.event.TableModelListener
tableChanged
in class DelegateTableModel
evt
- The TableModelEventpublic int mapRow(int rowIndex)