public class EquilibriumInspector.EqTableModel
extends javax.swing.table.AbstractTableModel
Constructor and Description |
---|
EquilibriumInspector.EqTableModel()
Constructor - do nothing, set the point to null
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount()
Returns the number of columns.
|
java.lang.String |
getColumnName(int columnIndex)
Returns the name of the column
|
int |
getRowCount()
Returns the number of rows.
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Returns the value at the specified cell
|
void |
updateEquilibrium(Equilibrium e)
Set the equilibrium to the given one.
|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
public EquilibriumInspector.EqTableModel()
public void updateEquilibrium(Equilibrium e)
e
- the equilibirum to set topublic int getRowCount()
public int getColumnCount()
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
columnIndex
- the column indexpublic java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- the row indexcolumnIndex
- the column index