public class RoleCorrectionTableModel extends CorrectionTableModel<RoleCorrection>
Constructor and Description |
---|
RoleCorrectionTableModel(java.util.List<RoleCorrection> roleCorrections)
Constructs a new
RoleCorrectionTableModel . |
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 RoleCorrectionTableModel(java.util.List<RoleCorrection> roleCorrections)
RoleCorrectionTableModel
.roleCorrections
- list of role correctionspublic int getColumnCount()
public java.lang.String getCorrectionColumnName(int colIndex)
CorrectionTableModel
getCorrectionColumnName
in class CorrectionTableModel<RoleCorrection>
colIndex
- column indexCorrectionTableModel.getApplyColumn()
public java.lang.Object getCorrectionValueAt(int rowIndex, int colIndex)
CorrectionTableModel
getCorrectionValueAt
in class CorrectionTableModel<RoleCorrection>
rowIndex
- row indexcolIndex
- column indexprotected boolean isBoldCell(int row, int column)
isBoldCell
in class CorrectionTableModel<RoleCorrection>