public class ConstraintViolationTableModel extends MessageTableModel
MessageTableModel
, which enables the
editing of the first column. The first column displays the warning and error
icons and the user can perform a click on the icon to bring up the resolution
drow down list.listenerList
Constructor and Description |
---|
ConstraintViolationTableModel(AbstractGanttChart gc)
Constructs a new table model for the given Gantt chart.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isCellEditable(int row,
int col) |
getColumnCount, getMessageInRow, getRowCount, getValueAt, messageAdded, messageRemoved, messagesCleared
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
public ConstraintViolationTableModel(AbstractGanttChart gc)
gc
- the Gantt chartpublic boolean isCellEditable(int row, int col)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.