Class ExportObservationTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
fr.ifremer.isisfish.ui.models.optimization.ExportObservationTableModel
- All Implemented Interfaces:
Serializable
,TableModel
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String[]
Columns names.protected List<ExportInfo>
Indexed keys list.protected Map<ExportInfo,
Observation> Optimizations exports and observations.Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
ConstructorDescriptionExportObservationTableModel
(Map<ExportInfo, Observation> optimizationExportsObservations) -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteExport
(ExportInfo export) int
getColumnName
(int columnIndex) getExportForRow
(int line) int
getValueAt
(int rowIndex, int columnIndex) boolean
isCellEditable
(int rowIndex, int columnIndex) void
setOptimizationExportsObservations
(Map<ExportInfo, Observation> optimizationExportsObservations) void
setValueAt
(Object aValue, int rowIndex, int columnIndex) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
optimizationExportsObservations
Optimizations exports and observations. -
keysCache
Indexed keys list. -
COLUMN_NAMES
Columns names.
-
-
Constructor Details
-
ExportObservationTableModel
public ExportObservationTableModel() -
ExportObservationTableModel
-
-
Method Details
-
setOptimizationExportsObservations
public void setOptimizationExportsObservations(Map<ExportInfo, Observation> optimizationExportsObservations) -
getExportForRow
-
deleteExport
-
getColumnCount
public int getColumnCount() -
getRowCount
public int getRowCount() -
getColumnName
- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
-
getValueAt
-
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
-