org.opensourcephysics.tools
Class DataToolTable.DataToolTableModel

java.lang.Object
  extended by org.opensourcephysics.display.DataTable.DefaultDataTableModel
      extended by org.opensourcephysics.tools.DataToolTable.DataToolTableModel
All Implemented Interfaces:
javax.swing.table.TableModel, DataTableModel
Enclosing class:
DataToolTable

protected static class DataToolTable.DataToolTableModel
extends DataTable.DefaultDataTableModel

A table model for this table.


Method Summary
 java.lang.String getColumnName(int col)
          Method getColumnName
 boolean isCellEditable(int row, int col)
          Method isCellEditable
 void setValueAt(java.lang.Object value, int row, int col)
          Method setValueAt
 
Methods inherited from class org.opensourcephysics.display.DataTable.DefaultDataTableModel
add, addTableModelListener, clear, getColumnClass, getColumnCount, getRowCount, getValueAt, isRowNumberVisible, remove, removeTableModelListener, setColumnVisible, setRowNumberVisible, setStride
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getColumnName

public java.lang.String getColumnName(int col)
Description copied from class: DataTable.DefaultDataTableModel
Method getColumnName

Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class DataTable.DefaultDataTableModel

setValueAt

public void setValueAt(java.lang.Object value,
                       int row,
                       int col)
Description copied from class: DataTable.DefaultDataTableModel
Method setValueAt

Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class DataTable.DefaultDataTableModel

isCellEditable

public boolean isCellEditable(int row,
                              int col)
Description copied from class: DataTable.DefaultDataTableModel
Method isCellEditable

Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class DataTable.DefaultDataTableModel