public class TagCorrectionTableModel extends CorrectionTableModel<TagCorrection>
Constructor and Description |
---|
TagCorrectionTableModel(java.util.List<TagCorrection> tagCorrections)
Constructs a new
TagCorrectionTableModel . |
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
java.lang.String |
getCorrectionColumnName(int colIndex)
Returns the column name for columns other than "Apply".
|
java.lang.Object |
getCorrectionValueAt(int rowIndex,
int colIndex)
Returns the correction value at given position.
|
protected boolean |
isBoldCell(int row,
int column) |
getApply, getApplyColumn, getColumnClass, getColumnName, getCorrections, getRowCount, getValueAt, isCellEditable, setValueAt
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public TagCorrectionTableModel(java.util.List<TagCorrection> tagCorrections)
TagCorrectionTableModel
.tagCorrections
- list of tag correctionspublic int getColumnCount()
public java.lang.String getCorrectionColumnName(int colIndex)
CorrectionTableModel
getCorrectionColumnName
in class CorrectionTableModel<TagCorrection>
colIndex
- column indexCorrectionTableModel.getApplyColumn()
public java.lang.Object getCorrectionValueAt(int rowIndex, int colIndex)
CorrectionTableModel
getCorrectionValueAt
in class CorrectionTableModel<TagCorrection>
rowIndex
- row indexcolIndex
- column indexprotected boolean isBoldCell(int row, int column)
isBoldCell
in class CorrectionTableModel<TagCorrection>