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, removeTableModelListenerprivate 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 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 void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelsetValueAt in class AbstractTableModelpublic Object getValueAt(int rowIndex, int colIndex)