java.lang.Object
javax.swing.table.AbstractTableModel
com.iamsoft.util.ui.swing.TableModelProxy
- All Implemented Interfaces:
Serializable,TableModel
Wraps a TableModel.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
ConstructorsConstructorDescriptionTableModelProxy(TableModel pModel) Creates a new instance of TableLabelDecorator. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>getColumnClass(int pIdx) intgetColumnName(int pIdx) getModel()intgetValueAt(int pRow, int pCol) booleanisCellEditable(int pRow, int pCol) voidsetModel(TableModel pModel) voidsetValueAt(Object pVal, int pRow, int pCol) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Constructor Details
-
TableModelProxy
public TableModelProxy() -
TableModelProxy
Creates a new instance of TableLabelDecorator.
-
-
Method Details
-
getModel
-
setModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
getColumnCount
public int getColumnCount() -
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getRowCount
public int getRowCount() -
getValueAt
-
isCellEditable
public boolean isCellEditable(int pRow, int pCol) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-