org.jscience.physics.nuclear.kinematics.nuclear.gui.table
Class ReactionTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.jscience.physics.nuclear.kinematics.nuclear.gui.table.ReactionTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class ReactionTableModel
extends javax.swing.table.AbstractTableModel

DOCUMENT ME!

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ReactionTableModel(java.awt.Component parent)
          Creates a new ReactionTableModel object.
 
Method Summary
 java.lang.Class getColumnClass(int c)
          DOCUMENT ME!
 int getColumnCount()
          DOCUMENT ME!
 java.lang.String getColumnName(int c)
          DOCUMENT ME!
 int getRowCount()
          DOCUMENT ME!
 java.lang.Object getValueAt(int r, int c)
          DOCUMENT ME!
 boolean isCellEditable(int r, int c)
          DOCUMENT ME!
 void setReactionTableClient(ReactionTableClient rtc)
          DOCUMENT ME!
 void setValueAt(java.lang.Object value, int r, int c)
          DOCUMENT ME!
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReactionTableModel

public ReactionTableModel(java.awt.Component parent)
Creates a new ReactionTableModel object.

Parameters:
parent - DOCUMENT ME!
Method Detail

getRowCount

public int getRowCount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getColumnCount

public int getColumnCount()
DOCUMENT ME!

Returns:
DOCUMENT ME!

getColumnClass

public java.lang.Class getColumnClass(int c)
DOCUMENT ME!

Specified by:
getColumnClass in interface javax.swing.table.TableModel
Overrides:
getColumnClass in class javax.swing.table.AbstractTableModel
Parameters:
c - DOCUMENT ME!
Returns:
DOCUMENT ME!

getColumnName

public java.lang.String getColumnName(int c)
DOCUMENT ME!

Specified by:
getColumnName in interface javax.swing.table.TableModel
Overrides:
getColumnName in class javax.swing.table.AbstractTableModel
Parameters:
c - DOCUMENT ME!
Returns:
DOCUMENT ME!

isCellEditable

public boolean isCellEditable(int r,
                              int c)
DOCUMENT ME!

Specified by:
isCellEditable in interface javax.swing.table.TableModel
Overrides:
isCellEditable in class javax.swing.table.AbstractTableModel
Parameters:
r - DOCUMENT ME!
c - DOCUMENT ME!
Returns:
DOCUMENT ME!

getValueAt

public java.lang.Object getValueAt(int r,
                                   int c)
DOCUMENT ME!

Parameters:
r - DOCUMENT ME!
c - DOCUMENT ME!
Returns:
DOCUMENT ME!

setValueAt

public void setValueAt(java.lang.Object value,
                       int r,
                       int c)
DOCUMENT ME!

Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class javax.swing.table.AbstractTableModel
Parameters:
value - DOCUMENT ME!
r - DOCUMENT ME!
c - DOCUMENT ME!

setReactionTableClient

public void setReactionTableClient(ReactionTableClient rtc)
                            throws KinematicsException,
                                   NuclearException
DOCUMENT ME!

Parameters:
rtc - DOCUMENT ME!
Throws:
KinematicsException - DOCUMENT ME!
NuclearException - DOCUMENT ME!