fr.ifremer.coser.ui.result
Class ResultTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by fr.ifremer.coser.ui.result.ResultTableModel
All Implemented Interfaces:
PropertyChangeListener, Serializable, EventListener, TableModel

public class ResultTableModel
extends AbstractTableModel
implements PropertyChangeListener

Modele de la table des résultats RSufi.

Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
See Also:
Serialized Form

Field Summary
protected  Selection selection
           
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ResultTableModel(SelectionRsufiView view)
           
 
Method Summary
 int getColumnCount()
           
 String getColumnName(int column)
           
 int getRowCount()
           
 RSufiResult getValue(int rowIndex)
          Get value for wall row.
 Object getValueAt(int rowIndex, int columnIndex)
           
 void propertyChange(PropertyChangeEvent evt)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selection

protected Selection selection
Constructor Detail

ResultTableModel

public ResultTableModel(SelectionRsufiView view)
Method Detail

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableModel

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableModel

getColumnName

public String getColumnName(int column)
Specified by:
getColumnName in interface TableModel
Overrides:
getColumnName in class AbstractTableModel

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)
Specified by:
getValueAt in interface TableModel

getValue

public RSufiResult getValue(int rowIndex)
Get value for wall row.

Parameters:
rowIndex - row index
Returns:
rsufi result at row index

propertyChange

public void propertyChange(PropertyChangeEvent evt)
Specified by:
propertyChange in interface PropertyChangeListener


Copyright © 2010-2011 Ifremer. All Rights Reserved.