This TableModel is used by JUTableBinding to perform updates of the JTable
control to which it is bound to. This class is responsible for
editability of cells based on whether the current attribute in the current row
is editable or not.
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getColumnName
public java.lang.String getColumnName(int attrIndex)
- Overrides:
getColumnName in class javax.swing.table.AbstractTableModel
getColumnClass
public java.lang.Class getColumnClass(int attrIndex)
- Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel
getColumnCount
public int getColumnCount()
- Overrides:
getColumnCount in class javax.swing.table.AbstractTableModel
getRowCount
public int getRowCount()
- Overrides:
getRowCount in class javax.swing.table.AbstractTableModel
isCellEditable
public boolean isCellEditable(int rowIndex,
int attrIndex)
- Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel
getValueAt
public java.lang.Object getValueAt(int rowIndex,
int attrIndex)
- Overrides:
getValueAt in class javax.swing.table.AbstractTableModel
setValueAt
public void setValueAt(java.lang.Object value,
int rowIndex,
int attrIndex)
- Overrides:
setValueAt in class javax.swing.table.AbstractTableModel
valueChanged
public void valueChanged(javax.swing.event.ListSelectionEvent event)
- Specified by:
valueChanged in interface javax.swing.event.ListSelectionListener
stateChanged
public void stateChanged(javax.swing.event.ChangeEvent event)
- Specified by:
stateChanged in interface javax.swing.event.ChangeListener