T
- The type of the object representing one row of the tablepublic abstract class ReadOnlySimpleTableFormat<T> extends java.lang.Object implements SimpleTableFormat<T>
Constructor and Description |
---|
ReadOnlySimpleTableFormat() |
Modifier and Type | Method and Description |
---|---|
boolean |
isCellEditable(T rowValue, int columnIndex)
Returns true if the cell at
rowIndex and columnIndex is editable. |
void |
setValueAt(T rowValue, java.lang.Object value, int columnIndex)
Sets the value in the cell at
columnIndex and rowIndex to aValue . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getColumnClass, getColumnCount, getColumnName, getValueAt
public final void setValueAt(T rowValue, java.lang.Object value, int columnIndex)
SimpleTableFormat
columnIndex
and rowIndex
to aValue
.setValueAt
in interface SimpleTableFormat<T>
rowValue
- the object representing the rowvalue
- the new valuecolumnIndex
- the column whose value is to be changedpublic final boolean isCellEditable(T rowValue, int columnIndex)
SimpleTableFormat
rowIndex
and columnIndex
is editable. Otherwise, setValueAt
on the cell will not change the value of that cell.isCellEditable
in interface SimpleTableFormat<T>
rowValue
- the object representing the rowcolumnIndex
- the column being queried