Class EdalTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- javax.swing.table.DefaultTableModel
-
- de.ipk_gatersleben.bit.bi.edal.rmi.client.gui.EdalTableModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.table.TableModel
public class EdalTableModel extends javax.swing.table.DefaultTableModel
TheEDALTableModel
can be set up to display any data model which implements theTableModel
interface with a couple of lines of code:EDALTableModel myData = new EDALTableModel(data,columnNames); JTable table = new JTable(myData);
we implement this class only because we want to make the table is readonly, so the isCellEditable function return false- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EdalTableModel(java.lang.Object[][] data, java.lang.Object[] columnNames)
-
Method Summary
Modifier and Type Method Description boolean
isCellEditable(int rowIndex, int columnIndex)
-
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addColumn, addRow, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, insertRow, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setDataVector, setNumRows, setRowCount, setValueAt
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
-