public class BenthosBatchTableModel extends AbstractTuttiTableModel<BenthosBatchRowModel>
| Modifier and Type | Field and Description |
|---|---|
static ColumnIdentifier<BenthosBatchRowModel> |
ATTACHMENT |
static ColumnIdentifier<BenthosBatchRowModel> |
COMMENT |
static ColumnIdentifier<BenthosBatchRowModel> |
COMPUTED_NUMBER |
protected Set<ColumnIdentifier<BenthosBatchRowModel>> |
frequencyCols
Columns for the frequency edition.
|
protected SampleCategoryModel |
sampleCategoryModel
Sample categories model.
|
protected Set<SampleCategoryColumnIdentifier<BenthosBatchRowModel>> |
sampleCols
Columns implies in the sample category definition.
|
static ColumnIdentifier<BenthosBatchRowModel> |
SPECIES |
static ColumnIdentifier<BenthosBatchRowModel> |
SPECIES_TO_CONFIRM |
static ColumnIdentifier<BenthosBatchRowModel> |
WEIGHT |
protected WeightUnit |
weightUnit
Weight unit.
|
createEmptyRowIsEmpty, createNewRow, identifiers, noneEditableCols, rowslistenerList| Constructor and Description |
|---|
BenthosBatchTableModel(WeightUnit weightUnit,
SampleCategoryModel sampleCategoryModel,
org.jdesktop.swingx.table.TableColumnModelExt columnModel) |
| Modifier and Type | Method and Description |
|---|---|
BenthosBatchRowModel |
createNewRow() |
Integer |
getNextEditableFrequencyRow(Integer rowIndex)
Return the next editable row index for frequency from the given
rowIndex, or null if none found. |
protected boolean |
isCellEditable(int rowIndex,
int columnIndex,
ColumnIdentifier<BenthosBatchRowModel> propertyName) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex,
ColumnIdentifier<BenthosBatchRowModel> propertyName,
BenthosBatchRowModel entry) |
addNewRow, addNewRow, addNewRow, fireTableCellUpdated, getColumnCount, getEntry, getIdentifier, getRowCount, getRowIndex, getRows, 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<BenthosBatchRowModel> SPECIES
public static final ColumnIdentifier<BenthosBatchRowModel> WEIGHT
public static final ColumnIdentifier<BenthosBatchRowModel> COMPUTED_NUMBER
public static final ColumnIdentifier<BenthosBatchRowModel> COMMENT
public static final ColumnIdentifier<BenthosBatchRowModel> ATTACHMENT
public static final ColumnIdentifier<BenthosBatchRowModel> SPECIES_TO_CONFIRM
protected final Set<ColumnIdentifier<BenthosBatchRowModel>> frequencyCols
protected final Set<SampleCategoryColumnIdentifier<BenthosBatchRowModel>> sampleCols
protected final SampleCategoryModel sampleCategoryModel
protected final WeightUnit weightUnit
public BenthosBatchTableModel(WeightUnit weightUnit, SampleCategoryModel sampleCategoryModel, org.jdesktop.swingx.table.TableColumnModelExt columnModel)
public BenthosBatchRowModel createNewRow()
createNewRow in class AbstractTuttiTableModel<BenthosBatchRowModel>public void setValueAt(Object aValue, int rowIndex, int columnIndex, ColumnIdentifier<BenthosBatchRowModel> propertyName, BenthosBatchRowModel entry)
setValueAt in class AbstractTuttiTableModel<BenthosBatchRowModel>protected boolean isCellEditable(int rowIndex,
int columnIndex,
ColumnIdentifier<BenthosBatchRowModel> propertyName)
isCellEditable in class AbstractTuttiTableModel<BenthosBatchRowModel>public Integer getNextEditableFrequencyRow(Integer rowIndex)
rowIndex, or null if none found.rowIndex - the starting index where to lookrowIndex, or null if none found.Copyright © 2012–2013 Ifremer. All rights reserved.