public class AccidentalBatchUIHandler extends AbstractTuttiBatchTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchTableModel,AccidentalBatchUI> implements CaracteristicMapColumnUIHandler
| Modifier and Type | Field and Description |
|---|---|
protected ValidationService |
validationService |
protected WeightUnit |
weightUnit
Weight unit.
|
persistenceServiceCONFIRMATION_FORMAT, context, ui| Constructor and Description |
|---|
AccidentalBatchUIHandler(TuttiUI<?,?> parentUi,
AccidentalBatchUI 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, initCoordinateDMDEditor, initCoordinateDMSEditor, 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, setFile, setText, showInformationMessage, showSuccessMessageprotected ValidationService validationService
protected final WeightUnit weightUnit
public AccidentalBatchUIHandler(TuttiUI<?,?> parentUi, AccidentalBatchUI ui)
protected ColumnIdentifier<AccidentalBatchRowModel> getCommentIdentifier()
protected ColumnIdentifier<AccidentalBatchRowModel> getAttachementIdentifier()
public void selectFishingOperation(FishingOperation bean)
protected void beforeOpenPopup(int rowIndex,
int columnIndex)
AbstractTuttiUIHandlerbeforeOpenPopup in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>rowIndex - selected row index (or lowest selected one)columnIndex - selected column indexpublic AccidentalBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchUI>protected boolean isRowValid(AccidentalBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchUI>row - row to validatetrue if row is valid, false otherwise.protected void saveSelectedRowIfRequired(TuttiBeanMonitor<AccidentalBatchRowModel> rowMonitor, AccidentalBatchRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessarypublic jaxx.runtime.validator.swing.SwingValidator<AccidentalBatchUIModel> getValidator()
getValidator in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>protected JComponent getComponentToFocus()
getComponentToFocus in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>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(CreateAccidentalBatchUIModel model)
protected AccidentalBatchRowModel loadBatch(AccidentalBatch aBatch)
protected void saveRow(AccidentalBatchRowModel row)
Copyright © 2012–2013 Ifremer. All rights reserved.