Kereta Yarsi Indonesia
|
Public Member Functions | |
CustomTableModel (TableModel model) | |
boolean | isCellEditable (int row, int column) |
CustomTableModel is a custom implementation of DefaultTableModel that copies data from another TableModel and makes all cells uneditable.
This class is used to provide a read-only table model based on an existing table model.
|
inline |
Constructs a CustomTableModel by copying the data from the provided TableModel.
model | The TableModel to copy data from. |
|
inline |
Overrides the isCellEditable method to make all cells uneditable.
row | The row index of the cell. |
column | The column index of the cell. |