class FileBrowser.PathCompare.CompareTableModel extends javax.swing.table.AbstractTableModel
Modifier and Type | Field and Description |
---|---|
(package private) static long |
serialVersionUID |
(package private) java.lang.String[] |
tableColumnNames |
Constructor and Description |
---|
CompareTableModel() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getColumnClass(int c) |
int |
getColumnCount() |
java.lang.String |
getColumnName(int col) |
int |
getRowCount() |
java.lang.Object |
getValueAt(int row,
int col)
Method used to get data to display after
getTableCellRendererComponent converts it for displaying.
|
boolean |
isCellEditable(int row,
int col)
Disable the default editor if not the first column or the cell
contains a Direction.
|
void |
setValueAt(java.lang.Object value,
int row,
int col)
Apparently only used if cell is edited.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
static final long serialVersionUID
java.lang.String[] tableColumnNames
CompareTableModel()
public int getColumnCount()
public int getRowCount()
public java.lang.String getColumnName(int col)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public java.lang.Object getValueAt(int row, int col)
public java.lang.Class<?> getColumnClass(int c)
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in class javax.swing.table.AbstractTableModel
public boolean isCellEditable(int row, int col)
isCellEditable
in interface javax.swing.table.TableModel
isCellEditable
in class javax.swing.table.AbstractTableModel
public void setValueAt(java.lang.Object value, int row, int col)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
value
- new (edited) value of cellrow
- row of edited cellcol
- column of edited cell