public abstract class CorrectionTableModel<C extends Correction> extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
private boolean[] |
apply |
private int |
applyColumn |
private List<C> |
corrections |
listenerList
Constructor and Description |
---|
CorrectionTableModel(List<C> corrections) |
Modifier and Type | Method and Description |
---|---|
boolean |
getApply(int i) |
int |
getApplyColumn() |
Class<?> |
getColumnClass(int columnIndex) |
abstract int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
abstract String |
getCorrectionColumnName(int colIndex) |
List<C> |
getCorrections() |
abstract Object |
getCorrectionValueAt(int rowIndex,
int colIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int colIndex) |
protected abstract boolean |
isBoldCell(int row,
int column) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
private List<C extends Correction> corrections
private boolean[] apply
private int applyColumn
public CorrectionTableModel(List<C> corrections)
public abstract int getColumnCount()
protected abstract boolean isBoldCell(int row, int column)
public abstract String getCorrectionColumnName(int colIndex)
public abstract Object getCorrectionValueAt(int rowIndex, int colIndex)
public List<C> getCorrections()
public int getApplyColumn()
public boolean getApply(int i)
public int getRowCount()
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 void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
public Object getValueAt(int rowIndex, int colIndex)