fr.ifremer.isisfish.ui.models.sensitivity
Class SensitivityCalculatorParametersTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by fr.ifremer.isisfish.ui.models.sensitivity.SensitivityCalculatorParametersTableModel
All Implemented Interfaces:
Serializable, TableModel

public class SensitivityCalculatorParametersTableModel
extends AbstractTableModel

Model de la table de definition de parametre d'un plan d'analyse. Columns :

  • Parameter name
  • Parameter value
  • Version:
    $Revision: 2658 $ Last update : $Date: 2009-10-13 17:00:50 +0200 (mar., 13 oct. 2009) $ By : $Author: chatellier $
    Author:
    chatellier
    See Also:
    Serialized Form

    Field Summary
    static String[] COLUMN_NAMES
              Columns names.
    protected  List<String> planParametersNames
               
    protected  SensitivityCalculator sensitivityCalculator
               
     
    Fields inherited from class javax.swing.table.AbstractTableModel
    listenerList
     
    Constructor Summary
    SensitivityCalculatorParametersTableModel(SensitivityCalculator sensitivityCalculator)
              Constructor with data.
     
    Method Summary
     Class<?> getColumnClass(int columnIndex)
               
     int getColumnCount()
               
     String getColumnName(int columnIndex)
               
     int getRowCount()
               
     Object getValueAt(int rowIndex, int columnIndex)
               
     boolean isCellEditable(int rowIndex, int columnIndex)
               
     void setValueAt(Object value, int rowIndex, int columnIndex)
               
     
    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
     

    Field Detail

    COLUMN_NAMES

    public static final String[] COLUMN_NAMES
    Columns names.


    sensitivityCalculator

    protected SensitivityCalculator sensitivityCalculator

    planParametersNames

    protected List<String> planParametersNames
    Constructor Detail

    SensitivityCalculatorParametersTableModel

    public SensitivityCalculatorParametersTableModel(SensitivityCalculator sensitivityCalculator)
    Constructor with data.

    Parameters:
    sensitivityCalculator - plan to edit parameters
    Method Detail

    getColumnCount

    public int getColumnCount()

    getRowCount

    public int getRowCount()

    getValueAt

    public Object getValueAt(int rowIndex,
                             int columnIndex)

    getColumnClass

    public Class<?> getColumnClass(int columnIndex)
    Specified by:
    getColumnClass in interface TableModel
    Overrides:
    getColumnClass in class AbstractTableModel

    getColumnName

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

    isCellEditable

    public boolean isCellEditable(int rowIndex,
                                  int columnIndex)
    Specified by:
    isCellEditable in interface TableModel
    Overrides:
    isCellEditable in class AbstractTableModel

    setValueAt

    public void setValueAt(Object value,
                           int rowIndex,
                           int columnIndex)
    Specified by:
    setValueAt in interface TableModel
    Overrides:
    setValueAt in class AbstractTableModel


    Copyright © 1999-2010 CodeLutin. All Rights Reserved.