public class SpeciesBatchTableModel extends AbstractTuttiTableModel<SpeciesBatchRowModel>
| Modifier and Type | Class and Description |
|---|---|
static class |
SpeciesBatchTableModel.SampleColumnIdentifier<R> |
columnModel, createEmptyRowIsEmpty, createNewRow, noneEditableCols, rowslistenerList| Constructor and Description |
|---|
SpeciesBatchTableModel(org.jdesktop.swingx.table.TableColumnModelExt columnModel,
com.google.common.collect.Multimap<Species,SampleCategoryType> speciesSampleCategories) |
| Modifier and Type | Method and Description |
|---|---|
SpeciesBatchRowModel |
createNewRow() |
protected boolean |
isCellEditable(int rowIndex,
int columnIndex,
ColumnIdentifier<SpeciesBatchRowModel> propertyName) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex,
ColumnIdentifier<SpeciesBatchRowModel> propertyName,
SpeciesBatchRowModel entry) |
void |
updateSamplingRatio(Set<SpeciesBatchRowModel> rows) |
addNewRow, addNewRow, addNewRow, fireTableCellUpdated, getColumn, getColumnCount, getColumnIndex, getEntry, getPropertyName, getRowCount, getRowIndex, getRows, getValueAt, getValueAt, isCellEditable, isCreateEmptyRowIsEmpty, isCreateNewRow, onRowAdded, onRowsChanged, removeRow, setNoneEditableCols, setRows, setValueAt, updateRowaddTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListenerpublic static final ColumnIdentifier<SpeciesBatchRowModel> SPECIES
public static final ColumnIdentifier<SpeciesBatchRowModel> SORTED_UNSORTED_CATEGORY
public static final ColumnIdentifier<SpeciesBatchRowModel> SIZE_CATEGORY
public static final ColumnIdentifier<SpeciesBatchRowModel> SEX_CATEGORY
public static final ColumnIdentifier<SpeciesBatchRowModel> MATURITY_CATEGORY
public static final ColumnIdentifier<SpeciesBatchRowModel> AGE_CATEGORY
public static final ColumnIdentifier<SpeciesBatchRowModel> WEIGHT
public static final ColumnIdentifier<SpeciesBatchRowModel> COMPUTED_NUMBER
public static final ColumnIdentifier<SpeciesBatchRowModel> COMMENT
public static final ColumnIdentifier<SpeciesBatchRowModel> ATTACHMENT
public static final ColumnIdentifier<SpeciesBatchRowModel> SPECIES_TO_CONFIRM
protected final Set<ColumnIdentifier<SpeciesBatchRowModel>> frequencyCols
protected final Set<ColumnIdentifier<SpeciesBatchRowModel>> sampleCols
protected final com.google.common.collect.Multimap<Species,SampleCategoryType> speciesSampleCategories
public SpeciesBatchTableModel(org.jdesktop.swingx.table.TableColumnModelExt columnModel,
com.google.common.collect.Multimap<Species,SampleCategoryType> speciesSampleCategories)
public SpeciesBatchRowModel createNewRow()
createNewRow in class AbstractTuttiTableModel<SpeciesBatchRowModel>public void setValueAt(Object aValue, int rowIndex, int columnIndex, ColumnIdentifier<SpeciesBatchRowModel> propertyName, SpeciesBatchRowModel entry)
setValueAt in class AbstractTuttiTableModel<SpeciesBatchRowModel>public void updateSamplingRatio(Set<SpeciesBatchRowModel> rows)
protected boolean isCellEditable(int rowIndex,
int columnIndex,
ColumnIdentifier<SpeciesBatchRowModel> propertyName)
isCellEditable in class AbstractTuttiTableModel<SpeciesBatchRowModel>Copyright © 2012-2013 Ifremer. All Rights Reserved.