public class SpeciesBatchUIModel extends AbstractTuttiBatchUIModel<SpeciesBatchRowModel,SpeciesBatchUIModel> implements org.nuiton.jaxx.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 |
|---|
SpeciesBatchUIModel(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_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
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 SpeciesBatchUIModel(EditCatchesUIModel catchesUIModel)
public Float getSpeciesTotalComputedWeight()
public void setSpeciesTotalComputedWeight(Float speciesTotalComputedWeight)
public ComputableData<Float> getSpeciesTotalSortedComputedOrNotWeight()
public Float getSpeciesTotalSortedWeight()
public void setSpeciesTotalSortedWeight(Float speciesTotalSortedWeight)
public Float getSpeciesTotalSortedComputedWeight()
public void setSpeciesTotalSortedComputedWeight(Float speciesTotalSortedComputedWeight)
public Float getSpeciesTotalUnsortedComputedWeight()
public void setSpeciesTotalUnsortedComputedWeight(Float speciesTotalUnsortedComputedWeight)
public Float getSpeciesTotalSampleSortedComputedWeight()
public void setSpeciesTotalSampleSortedComputedWeight(Float speciesTotalSampleSortedComputedWeight)
public ComputableData<Float> getSpeciesTotalInertComputedOrNotWeight()
public Float getSpeciesTotalInertWeight()
public void setSpeciesTotalInertWeight(Float speciesTotalInertWeight)
public Float getSpeciesTotalInertComputedWeight()
public void setSpeciesTotalInertComputedWeight(Float speciesTotalInertComputedWeight)
public ComputableData<Float> getSpeciesTotalLivingNotItemizedComputedOrNotWeight()
public Float getSpeciesTotalLivingNotItemizedWeight()
public void setSpeciesTotalLivingNotItemizedWeight(Float speciesTotalLivingNotItemizedWeight)
public Float getSpeciesTotalLivingNotItemizedComputedWeight()
public void setSpeciesTotalLivingNotItemizedComputedWeight(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 boolean isEmpty()
isEmpty in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic String getTitle()
getTitle in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic String getIcon()
getIcon in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic boolean isCloseable()
isCloseable in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic List<SpeciesBatchRowModel> getLeafs(Species species)
public void getLeafs(Species species, SpeciesBatchRowModel rowModel, List<SpeciesBatchRowModel> used)
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.