public class AccidentalBatchUIHandler extends AbstractTuttiBatchTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchTableModel,AccidentalBatchUI> implements CaracteristicMapColumnUIHandler
| Modifier and Type | Field and Description |
|---|---|
protected fr.ifremer.shared.application.type.WeightUnit |
weightUnit
Weight unit.
|
| Constructor and Description |
|---|
AccidentalBatchUIHandler() |
addAttachementHighlighter, addCommentHighlighter, addHighlighters, clearTableSelection, initBatchTable, onRowModifiedcleanrRowMonitor, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onAfterSelectedRowChanged, onModelRowsChanged, onRowModifyStateChanged, onRowValidStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListenerbuildReminderLabelTitle, buildReminderLabelTitle, clearValidators, closeUI, getConfig, getContext, getDataContext, getDecorator, getPersistenceService, getPropertiesToIgnore, getTopestUI, getValidateCruiseOperationsService, getValidationService, initButtonAttachment, initTextField, initUIComponent, listenModelModifiy, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, registerValidators, showInformationMessageaddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, changeValidatorContext, closeDialog, decorate, decorate, getModel, getParentContainer, getUI, incrementsMessage, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initBeanList, initButton, initCoordinateDMDEditor, initCoordinateDMSEditor, initDatePicker, initLabel, initNumberEditor, initScrollPane, initTimeEditor, initUI, isAutoSelectOnFocus, newComboModel, newListCellRender, newListCellRender, newListCellRender, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, openRowMenu, quitScreen, selectListData, setBoolean, setDate, setFile, setText, showSuccessMessageprotected fr.ifremer.shared.application.type.WeightUnit weightUnit
protected fr.ifremer.shared.application.swing.table.ColumnIdentifier<AccidentalBatchRowModel> getCommentIdentifier()
protected fr.ifremer.shared.application.swing.table.ColumnIdentifier<AccidentalBatchRowModel> getAttachementIdentifier()
public void selectFishingOperation(FishingOperation bean)
protected void beforeOpenPopup(int rowIndex,
int columnIndex)
beforeOpenPopup in class fr.ifremer.shared.application.swing.AbstractApplicationUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public 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 fr.ifremer.shared.application.swing.AbstractApplicationUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void beforeInit(AccidentalBatchUI ui)
beforeInit in interface jaxx.runtime.spi.UIHandler<AccidentalBatchUI>beforeInit in class fr.ifremer.shared.application.swing.AbstractApplicationUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void afterInit(AccidentalBatchUI ui)
afterInit in interface jaxx.runtime.spi.UIHandler<AccidentalBatchUI>protected JComponent getComponentToFocus()
getComponentToFocus in class fr.ifremer.shared.application.swing.AbstractApplicationUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void onCloseUI()
onCloseUI in class fr.ifremer.shared.application.swing.AbstractApplicationUIHandler<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–2014 Ifremer. All rights reserved.