Class FactorCardinalityTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
fr.ifremer.isisfish.ui.sensitivity.model.FactorCardinalityTableModel
- All Implemented Interfaces:
Serializable
,TableModel
Model de la table de definition des cadinalité de facteurs.
Columns :
- Factor name
- Cardinality
- Version:
- $Revision$ Last update : $Date$ By : $Author$
- Author:
- chatellier
- See Also:
-
Field Summary
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorDescriptionConstructor with null data.FactorCardinalityTableModel
(List<Factor> factors) Constructor with data. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getColumnClass
(int columnIndex) int
getColumnName
(int columnIndex) int
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
-
Field Details
-
COLUMN_NAMES
Columns names. -
factors
-
-
Constructor Details
-
FactorCardinalityTableModel
public FactorCardinalityTableModel()Constructor with null data. -
FactorCardinalityTableModel
Constructor with data.- Parameters:
factors
- factors
-
-
Method Details
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getValueAt
-
getColumnClass
- Specified by:
getColumnClass
in interfaceTableModel
- Overrides:
getColumnClass
in classAbstractTableModel
-
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) - Specified by:
isCellEditable
in interfaceTableModel
- Overrides:
isCellEditable
in classAbstractTableModel
-
setValueAt
- Specified by:
setValueAt
in interfaceTableModel
- Overrides:
setValueAt
in classAbstractTableModel
-