Package org.opensourcephysics.tools
Class FunctionEditor.TableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.opensourcephysics.tools.FunctionEditor.TableModel
- All Implemented Interfaces:
Serializable,TableModel
- Enclosing class:
- FunctionEditor
The table model.
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColumnName(int col) intgetValueAt(int row, int col) booleanisCellEditable(int row, int col) voidsetValueAt(Object value, int row, int col) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
Constructor Details
-
TableModel
protected TableModel()
-
-
Method Details
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getValueAt
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int col) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-