public class BenthosFrequencyUIModel extends AbstractTuttiTableUIModel<BenthosBatchRowModel,BenthosFrequencyRowModel,BenthosFrequencyUIModel>
| Modifier and Type | Class and Description |
|---|---|
static class |
BenthosFrequencyUIModel.ConfigurationMode |
| Modifier and Type | Field and Description |
|---|---|
protected BenthosBatchRowModel |
batch
Batch that contains frequencies.
|
protected BenthosFrequencyUIModel.ConfigurationMode |
configurationMode
Fill mode.
|
protected Set<BenthosFrequencyRowModel> |
emptyRows |
protected Caracteristic |
lengthStepCaracteristic
Length step caracteristic.
|
protected Float |
maxStep
Max step to auto generate length steps.
|
protected Float |
minStep
Min step to auto generate length steps.
|
protected Integer |
nextEditableRowIndex
The index of the next editable row (null if none).
|
static String |
PROPERTY_AUTO_GEN_MODE |
static String |
PROPERTY_BATCH |
static String |
PROPERTY_CAN_GENERATE |
static String |
PROPERTY_CONFIGURATION_MODE |
static String |
PROPERTY_EMPTY_ROWS |
static String |
PROPERTY_LENGHT_STEP_CARACTERISTIC |
static String |
PROPERTY_NEXT_EDITABLE_ROW_INDEX |
static String |
PROPERTY_RAFALE_MODE |
static String |
PROPERTY_SIMPLE_COUNT |
static String |
PROPERTY_SIMPLE_COUNTING_MODE |
static String |
PROPERTY_SIMPLE_MODE |
static String |
PROPERTY_STEP |
static String |
PROPERTY_TOTAL_NUMBER |
static String |
PROPERTY_TOTAL_WEIGHT |
protected SampleCategoryModel |
sampleCategoryModel
Sample categories model.
|
protected Integer |
simpleCount
Number in case of simple counting mode
|
protected float |
step
Default step to increment length step.
|
protected Integer |
totalNumber
Sum of the number of each valid row
|
protected Float |
totalWeight
Sum of the weight of each valid row
|
protected WeightUnit |
weightUnit
Weight unit.
|
PROPERTY_ROWS, PROPERTY_ROWS_IN_ERROR, rows, rowsInErrorid, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ID| Constructor and Description |
|---|
BenthosFrequencyUIModel(WeightUnit weightUnit,
SampleCategoryModel sampleCategoryModel) |
addRowInError, getRowCount, getRows, getRowsInError, removeRowInError, setRowsInErrorfirePropertyChanged, fromBean, fromEntity, getChild, getChild, getId, getIdAsInt, isCreate, isModify, isValid, setId, setId, setModify, setValid, toBean, toEntityaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_BATCH
public static final String PROPERTY_CONFIGURATION_MODE
public static final String PROPERTY_STEP
public static final String PROPERTY_CAN_GENERATE
public static final String PROPERTY_SIMPLE_MODE
public static final String PROPERTY_AUTO_GEN_MODE
public static final String PROPERTY_RAFALE_MODE
public static final String PROPERTY_SIMPLE_COUNTING_MODE
public static final String PROPERTY_SIMPLE_COUNT
public static final String PROPERTY_LENGHT_STEP_CARACTERISTIC
public static final String PROPERTY_TOTAL_NUMBER
public static final String PROPERTY_TOTAL_WEIGHT
public static final String PROPERTY_EMPTY_ROWS
public static final String PROPERTY_NEXT_EDITABLE_ROW_INDEX
protected BenthosFrequencyUIModel.ConfigurationMode configurationMode
protected BenthosBatchRowModel batch
protected float step
protected Float minStep
protected Float maxStep
protected Caracteristic lengthStepCaracteristic
protected Integer simpleCount
protected Integer totalNumber
protected Float totalWeight
protected Integer nextEditableRowIndex
protected Set<BenthosFrequencyRowModel> emptyRows
protected final SampleCategoryModel sampleCategoryModel
protected final WeightUnit weightUnit
public BenthosFrequencyUIModel(WeightUnit weightUnit, SampleCategoryModel sampleCategoryModel)
protected BenthosBatchRowModel newEntity()
newEntity in class AbstractTuttiBeanUIModel<BenthosBatchRowModel,BenthosFrequencyUIModel>public void setRows(List<BenthosFrequencyRowModel> rows)
setRows in class AbstractTuttiTableUIModel<BenthosBatchRowModel,BenthosFrequencyRowModel,BenthosFrequencyUIModel>public BenthosFrequencyUIModel.ConfigurationMode getConfigurationMode()
public void setConfigurationMode(BenthosFrequencyUIModel.ConfigurationMode configurationMode)
public float getStep()
public void setStep(float step)
public Caracteristic getLengthStepCaracteristic()
public void setLengthStepCaracteristic(Caracteristic lengthStepCaracteristic)
public Float getMinStep()
public void setMinStep(Float minStep)
public Float getMaxStep()
public void setMaxStep(Float maxStep)
public Integer getSimpleCount()
public void setSimpleCount(Integer simpleCount)
public Integer getNextEditableRowIndex()
public void setNextEditableRowIndex(Integer nextEditableRowIndex)
public boolean isSimpleMode()
public boolean isAutoGenMode()
public boolean isRafaleMode()
public boolean isSimpleCountingMode()
public boolean isCanGenerate()
public BenthosBatchRowModel getBatch()
public void setBatch(BenthosBatchRowModel batch)
public float getLengthStep(float lengthStep)
public Integer getTotalNumber()
public void setTotalNumber(Integer totalNumber)
public Float getTotalWeight()
public void setTotalWeight(Float totalWeight)
public Set<BenthosFrequencyRowModel> getEmptyRows()
public void setEmptyRows(Set<BenthosFrequencyRowModel> emptyRows)
public void addEmptyRow(BenthosFrequencyRowModel row)
public void removeEmptyRow(BenthosFrequencyRowModel row)
Copyright © 2012–2013 Ifremer. All rights reserved.