java.lang.Object
javax.swing.table.AbstractTableModel
javax.swing.table.DefaultTableModel
de.grogra.pf.ui.tree.SyncMappedTable
- All Implemented Interfaces:
Synchronizer.Callback
,Serializable
,EventListener
,TableModelListener
,TableModel
public class SyncMappedTable
extends DefaultTableModel
implements Synchronizer.Callback, TableModelListener
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ObjectList
protected final Context
protected final TableModel
protected final Synchronizer
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getColumnClass
(int column) boolean
isCellEditable
(int row, int column) void
void
setValueAt
(Object value, int row, int column) void
protected void
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
Methods inherited from class javax.swing.table.AbstractTableModel
findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners
-
Field Details
-
sync
-
source
-
columnClasses
-
context
-
-
Constructor Details
-
SyncMappedTable
-
-
Method Details
-
run
- Specified by:
run
in interfaceSynchronizer.Callback
-
addTableModelListener
- Specified by:
addTableModelListener
in interfaceTableModel
- Overrides:
addTableModelListener
in classAbstractTableModel
-
removeTableModelListener
- Specified by:
removeTableModelListener
in interfaceTableModel
- Overrides:
removeTableModelListener
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int column) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classDefaultTableModel
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classDefaultTableModel
-
tableChanged
- Specified by:
tableChanged
in interfaceTableModelListener
-
tableChangedSync
-