public class IndividualObservationBatchUIHandler extends AbstractTuttiBatchTableUIHandler<IndividualObservationBatchRowModel,IndividualObservationBatchUIModel,IndividualObservationBatchUI> implements CaracteristicMapColumnUIHandler
| Modifier and Type | Field and Description |
|---|---|
Integer |
PMFM_ID_SORTED_UNSORTED |
protected ValidationService |
validationService |
protected WeightUnit |
weightUnit
Weight unit.
|
persistenceServiceCONFIRMATION_FORMAT, context, ui| Constructor and Description |
|---|
IndividualObservationBatchUIHandler(TuttiUI<?,?> parentUi,
IndividualObservationBatchUI ui) |
addAttachementHighlighter, addCommentHighlighter, addHighlighters, clearTableSelection, initBatchTable, onRowModifiedcleanrRowMonitor, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onAfterSelectedRowChanged, onModelRowsChanged, onRowModifyStateChanged, onRowValidStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListeneraddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, buildReminderLabelTitle, buildReminderLabelTitle, changeValidatorContext, clearValidators, closeDialog, closeUI, decorate, decorate, getConfig, getContext, getDataContext, getDecorator, getModel, getPropertiesToIgnore, getTopestUI, getUI, incrementsMessage, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initBeanList, initButton, initButtonAttachment, initDatePicker, initLabel, initNumberEditor, initScrollPane, initTextField, initTimeEditor, initUI, isAutoSelectOnFocus, listenModelModifiy, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, newComboModel, newListCellRender, newListCellRender, newListCellRender, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, openRowMenu, quitScreen, registerValidators, selectListData, setBoolean, setDate, setText, showInformationMessage, showSuccessMessageprotected ValidationService validationService
protected final WeightUnit weightUnit
public final Integer PMFM_ID_SORTED_UNSORTED
public IndividualObservationBatchUIHandler(TuttiUI<?,?> parentUi, IndividualObservationBatchUI ui)
protected ColumnIdentifier<IndividualObservationBatchRowModel> getCommentIdentifier()
protected ColumnIdentifier<IndividualObservationBatchRowModel> getAttachementIdentifier()
public void selectFishingOperation(FishingOperation bean)
public IndividualObservationBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<IndividualObservationBatchRowModel,IndividualObservationBatchUIModel,IndividualObservationBatchUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<IndividualObservationBatchRowModel,IndividualObservationBatchUIModel,IndividualObservationBatchUI>protected boolean isRowValid(IndividualObservationBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<IndividualObservationBatchRowModel,IndividualObservationBatchUIModel,IndividualObservationBatchUI>row - row to validatetrue if row is valid, false otherwise.protected void saveSelectedRowIfRequired(TuttiBeanMonitor<IndividualObservationBatchRowModel> rowMonitor, IndividualObservationBatchRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<IndividualObservationBatchRowModel,IndividualObservationBatchUIModel,IndividualObservationBatchUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessarypublic jaxx.runtime.validator.swing.SwingValidator<IndividualObservationBatchUIModel> getValidator()
getValidator in class AbstractTuttiUIHandler<IndividualObservationBatchUIModel,IndividualObservationBatchUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<IndividualObservationBatchUIModel,IndividualObservationBatchUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<IndividualObservationBatchUIModel,IndividualObservationBatchUI>protected void beforeOpenPopup(int rowIndex,
int columnIndex)
AbstractTuttiUIHandlerbeforeOpenPopup in class AbstractTuttiUIHandler<IndividualObservationBatchUIModel,IndividualObservationBatchUI>rowIndex - selected row index (or lowest selected one)columnIndex - selected column indexprotected JComponent getComponentToFocus()
getComponentToFocus in class AbstractTuttiUIHandler<IndividualObservationBatchUIModel,IndividualObservationBatchUI>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<IndividualObservationBatchUIModel,IndividualObservationBatchUI>public CaracteristicMapEditorUI getCaracteristicMapEditor()
getCaracteristicMapEditor in interface CaracteristicMapColumnUIHandlerpublic void showCaracteristicMapEditor(Species species)
showCaracteristicMapEditor in interface CaracteristicMapColumnUIHandlerpublic void hideCaracteristicMapEditor()
hideCaracteristicMapEditor in interface CaracteristicMapColumnUIHandlerpublic void createBatch()
public void addBatch(CreateIndividualObservationBatchUIModel model)
protected void saveRow(IndividualObservationBatchRowModel row)
Copyright © 2012–2013 Ifremer. All rights reserved.