public class ProxyTableModel extends AbstractTableModel
listenerList
Constructor and Description |
---|
ProxyTableModel(JTable pTable) |
ProxyTableModel(JTable pTable,
javafx.beans.value.ObservableValue<TableModel> pTableModelProperty) |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getColumnClass(int pIdx) |
int |
getColumnCount() |
String |
getColumnName(int pIdx) |
int |
getRowCount() |
Object |
getValueAt(int pRowIdx,
int pColIdx)
Note that if returned object is mutable, it should be properly synchronized.
|
boolean |
isCellEditable(int pRowIdx,
int pColIdx) |
void |
setValueAt(Object pVal,
int pRowIdx,
int pColIdx)
Note that if
pVal is mutable, it should be properly synchronized. |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
public ProxyTableModel(JTable pTable)
public ProxyTableModel(JTable pTable, javafx.beans.value.ObservableValue<TableModel> pTableModelProperty)
public int getRowCount()
public int getColumnCount()
public String getColumnName(int pIdx)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Class<?> getColumnClass(int pIdx)
getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
public boolean isCellEditable(int pRowIdx, int pColIdx)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public Object getValueAt(int pRowIdx, int pColIdx)
public void setValueAt(Object pVal, int pRowIdx, int pColIdx)
pVal
is mutable, it should be properly synchronized.setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
Copyright © 2023. All rights reserved.