public class ImageTable.MyTableModel extends DefaultTableModel
columnIdentifiers, dataVector
listenerList
Constructor and Description |
---|
MyTableModel(Object[][] data,
String[] colName)
Instantiates a new my table model.
|
Modifier and Type | Method and Description |
---|---|
Class<?> |
getColumnClass(int Column)
Get the class of selected cell.
|
boolean |
isCellEditable(int row,
int column)
The cells in column 1 is not editable.
|
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
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public boolean isCellEditable(int row, int column)
isCellEditable
in interface TableModel
isCellEditable
in class DefaultTableModel
row
- the selected rowcolumn
- the selected columnpublic Class<?> getColumnClass(int Column)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
Column
- the selected columnCopyright © 2017–2019 Funahashi Lab.. All rights reserved.