public class BenthosBatchUIModel extends AbstractTuttiBatchUIModel<BenthosBatchRowModel,BenthosBatchUIModel> implements fr.ifremer.shared.application.swing.tab.TabContentModel, SpeciesSortableRowModel
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
addSampleCategoryEnabled
Can user add a/some missing sample category of the selected species batch ?
|
protected boolean |
changeSampleCategoryEnabled
Can user change a sample category of the selected species batch ?
|
protected boolean |
createMelagEnabled
Can user create a melag from the selected species?
|
protected int |
leafNumber |
static String |
PROPERTY_ADD_SAMPLE_CATEGORY_ENABLED |
static String |
PROPERTY_CHANGE_SAMPLE_CATEGORY_ENABLED |
static String |
PROPERTY_CREATE_MELAG_ENABLED |
static String |
PROPERTY_EDIT_FREQUENCIES_ENABLED |
static String |
PROPERTY_LEAF_NUMBER |
static String |
PROPERTY_REMOVE_BATCH_ENABLED |
static String |
PROPERTY_REMOVE_SUB_BATCH_ENABLED |
static String |
PROPERTY_RENAME_BATCH_ENABLED |
static String |
PROPERTY_ROOT_NUMBER |
static String |
PROPERTY_SPLIT_BATCH_ENABLED |
static String |
PROPERTY_TABLE_VIEW_MODE |
static String |
PROPERTY_TABLE_VIEW_MODE_ALL |
static String |
PROPERTY_TABLE_VIEW_MODE_LEAF |
static String |
PROPERTY_TABLE_VIEW_MODE_ROOT |
protected boolean |
removeBatchEnabled
Can user remove a selected species batch?
|
protected boolean |
removeSubBatchEnabled
Can user remove a selected species sub batches?
|
protected boolean |
renameBatchEnabled
Can user rename the selected species?
|
protected int |
rootNumber |
protected int |
speciesDecoratorContextIndex
Which decorator index for species column decorate.
|
protected SpeciesSortMode |
speciesSortMode
How to sort table.
|
protected boolean |
splitBatchEnabled
Can user split a selected species batch ?
|
protected TableViewMode |
tableViewMode
What to show in the table.
|
catchesUIModel, propagatePropertiesPROPERTY_ROWS, PROPERTY_ROWS_IN_ERROR, rows, rowsInErrorid, modify, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_SPECIES_DECORATOR_CONTEXT_INDEX, PROPERTY_SPECIES_SORT_MODE, PROPERTY_SPECIES_SORT_MODE_ASC, PROPERTY_SPECIES_SORT_MODE_DESC, PROPERTY_SPECIES_SORT_MODE_NONEPROPERTY_ID| Constructor and Description |
|---|
BenthosBatchUIModel(EditCatchesUIModel catchesUIModel) |
fireBatchUpdated, getFishingOperation, newEntityaddRowInError, getRowCount, getRows, getRowsInError, removeRowInError, setRows, 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_TABLE_VIEW_MODE
public static final String PROPERTY_SPLIT_BATCH_ENABLED
public static final String PROPERTY_CHANGE_SAMPLE_CATEGORY_ENABLED
public static final String PROPERTY_ADD_SAMPLE_CATEGORY_ENABLED
public static final String PROPERTY_REMOVE_SUB_BATCH_ENABLED
public static final String PROPERTY_RENAME_BATCH_ENABLED
public static final String PROPERTY_REMOVE_BATCH_ENABLED
public static final String PROPERTY_CREATE_MELAG_ENABLED
public static final String PROPERTY_EDIT_FREQUENCIES_ENABLED
public static final String PROPERTY_TABLE_VIEW_MODE_ALL
public static final String PROPERTY_TABLE_VIEW_MODE_LEAF
public static final String PROPERTY_TABLE_VIEW_MODE_ROOT
public static final String PROPERTY_ROOT_NUMBER
public static final String PROPERTY_LEAF_NUMBER
protected boolean splitBatchEnabled
protected boolean changeSampleCategoryEnabled
protected boolean addSampleCategoryEnabled
protected boolean removeBatchEnabled
protected boolean removeSubBatchEnabled
protected boolean createMelagEnabled
protected boolean renameBatchEnabled
protected TableViewMode tableViewMode
protected int rootNumber
protected int leafNumber
protected SpeciesSortMode speciesSortMode
protected int speciesDecoratorContextIndex
public BenthosBatchUIModel(EditCatchesUIModel catchesUIModel)
public boolean isEmpty()
isEmpty in interface fr.ifremer.shared.application.swing.tab.TabContentModelpublic String getTitle()
getTitle in interface fr.ifremer.shared.application.swing.tab.TabContentModelpublic String getIcon()
getIcon in interface fr.ifremer.shared.application.swing.tab.TabContentModelpublic Float getBenthosTotalComputedWeight()
public void setBenthosTotalComputedWeight(Float speciesTotalComputedWeight)
public fr.ifremer.shared.application.swing.computable.ComputableData<Float> getBenthosTotalSortedComputedOrNotWeight()
public Float getBenthosTotalSortedWeight()
public void setBenthosTotalSortedWeight(Float speciesTotalSortedWeight)
public Float getBenthosTotalSortedComputedWeight()
public void setBenthosTotalSortedComputedWeight(Float speciesTotalSortedComputedWeight)
public Float getBenthosTotalUnsortedComputedWeight()
public void setBenthosTotalUnsortedComputedWeight(Float speciesTotalUnsortedComputedWeight)
public Float getBenthosTotalSampleSortedComputedWeight()
public void setBenthosTotalSampleSortedComputedWeight(Float speciesTotalSampleSortedComputedWeight)
public fr.ifremer.shared.application.swing.computable.ComputableData<Float> getBenthosTotalInertComputedOrNotWeight()
public Float getBenthosTotalInertWeight()
public void setBenthosTotalInertWeight(Float speciesTotalInertWeight)
public Float getBenthosTotalInertComputedWeight()
public void setBenthosTotalInertComputedWeight(Float speciesTotalInertComputedWeight)
public fr.ifremer.shared.application.swing.computable.ComputableData<Float> getBenthosTotalLivingNotItemizedComputedOrNotWeight()
public Float getBenthosTotalLivingNotItemizedWeight()
public void setBenthosTotalLivingNotItemizedWeight(Float speciesTotalLivingNotItemizedWeight)
public Float getBenthosTotalLivingNotItemizedComputedWeight()
public void setBenthosTotalLivingNotItemizedComputedWeight(Float speciesTotalLivingNotItemizedComputedWeight)
public TableViewMode getTableViewMode()
public void setTableViewMode(TableViewMode tableViewMode)
public boolean isTableViewModeAll()
public boolean isTableViewModeLeaf()
public boolean isTableViewModeRoot()
public com.google.common.collect.Multimap<CaracteristicQualitativeValue,Species> getSpeciesUsed()
public int getRootNumber()
public void setRootNumber(int rootNumber)
public int getLeafNumber()
public void setLeafNumber(int leafNumber)
public boolean isSplitBatchEnabled()
public void setSplitBatchEnabled(boolean splitBatchEnabled)
public boolean isChangeSampleCategoryEnabled()
public void setChangeSampleCategoryEnabled(boolean changeSampleCategoryEnabled)
public boolean isAddSampleCategoryEnabled()
public void setAddSampleCategoryEnabled(boolean addSampleCategoryEnabled)
public boolean isRemoveBatchEnabled()
public void setRemoveBatchEnabled(boolean removeBatchEnabled)
public boolean isRemoveSubBatchEnabled()
public void setRemoveSubBatchEnabled(boolean removeSubBatchEnabled)
public boolean isRenameBatchEnabled()
public void setRenameBatchEnabled(boolean renameBatchEnabled)
public boolean isCreateMelagEnabled()
public void setCreateMelagEnabled(boolean createMelagEnabled)
public boolean isEditFrequenciesEnabled()
public void setEditFrequenciesEnabled(boolean editFrequenciesEnabled)
public SpeciesSortMode getSpeciesSortMode()
getSpeciesSortMode in interface SpeciesSortableRowModelpublic void setSpeciesSortMode(SpeciesSortMode speciesSortMode)
setSpeciesSortMode in interface SpeciesSortableRowModelpublic boolean isSpeciesSortModeNone()
isSpeciesSortModeNone in interface SpeciesSortableRowModelpublic boolean isSpeciesSortModeAsc()
isSpeciesSortModeAsc in interface SpeciesSortableRowModelpublic boolean isSpeciesSortModeDesc()
isSpeciesSortModeDesc in interface SpeciesSortableRowModelpublic int getSpeciesDecoratorContextIndex()
getSpeciesDecoratorContextIndex in interface SpeciesSortableRowModelpublic void setSpeciesDecoratorContextIndex(int speciesDecoratorContextIndex)
setSpeciesDecoratorContextIndex in interface SpeciesSortableRowModelCopyright © 2012–2014 Ifremer. All rights reserved.