public class ExportObservationTableModel extends AbstractTableModel
Modifier and Type | Field and Description |
---|---|
static String[] |
COLUMN_NAMES
Columns names.
|
protected List<ExportInfo> |
keysCache
Indexed keys list.
|
protected Map<ExportInfo,Observation> |
optimizationExportsObservations
Optimizations exports and observations.
|
listenerList
Constructor and Description |
---|
ExportObservationTableModel() |
ExportObservationTableModel(Map<ExportInfo,Observation> optimizationExportsObservations) |
Modifier and Type | Method and Description |
---|---|
void |
deleteExport(ExportInfo export) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
ExportInfo |
getExportForRow(int line) |
int |
getRowCount() |
Object |
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) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
protected Map<ExportInfo,Observation> optimizationExportsObservations
protected List<ExportInfo> keysCache
public static final String[] COLUMN_NAMES
public ExportObservationTableModel()
public ExportObservationTableModel(Map<ExportInfo,Observation> optimizationExportsObservations)
public void setOptimizationExportsObservations(Map<ExportInfo,Observation> optimizationExportsObservations)
public ExportInfo getExportForRow(int line)
public void deleteExport(ExportInfo export)
public int getColumnCount()
public int getRowCount()
public String getColumnName(int columnIndex)
getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
public Object getValueAt(int rowIndex, int columnIndex)
public boolean isCellEditable(int rowIndex, int columnIndex)
isCellEditable
in interface TableModel
isCellEditable
in class AbstractTableModel
public void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface TableModel
setValueAt
in class AbstractTableModel
Copyright © 1999–2020 CodeLutin. All rights reserved.