public class MarineLitterBatchUIHandler extends AbstractTuttiBatchTableUIHandler<MarineLitterBatchRowModel,MarineLitterBatchUIModel,MarineLitterBatchUI>
| Modifier and Type | Field and Description |
|---|---|
protected ValidationService |
validationService |
protected WeightUnit |
weightUnit
Weight unit.
|
persistenceServiceCONFIRMATION_FORMAT, context, ui| Constructor and Description |
|---|
MarineLitterBatchUIHandler(TuttiUI<?,?> parentUi,
MarineLitterBatchUI ui) |
addAttachementHighlighter, addCommentHighlighter, addHighlighters, clearTableSelection, initBatchTable, onRowModifiedcleanrRowMonitor, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onAfterSelectedRowChanged, 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 MarineLitterBatchUIHandler(TuttiUI<?,?> parentUi, MarineLitterBatchUI ui)
protected ColumnIdentifier<MarineLitterBatchRowModel> getCommentIdentifier()
protected ColumnIdentifier<MarineLitterBatchRowModel> getAttachementIdentifier()
public void selectFishingOperation(FishingOperation bean)
public MarineLitterBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<MarineLitterBatchRowModel,MarineLitterBatchUIModel,MarineLitterBatchUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<MarineLitterBatchRowModel,MarineLitterBatchUIModel,MarineLitterBatchUI>protected boolean isRowValid(MarineLitterBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<MarineLitterBatchRowModel,MarineLitterBatchUIModel,MarineLitterBatchUI>row - row to validatetrue if row is valid, false otherwise.protected void saveSelectedRowIfRequired(TuttiBeanMonitor<MarineLitterBatchRowModel> rowMonitor, MarineLitterBatchRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<MarineLitterBatchRowModel,MarineLitterBatchUIModel,MarineLitterBatchUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessaryprotected void onModelRowsChanged(List<MarineLitterBatchRowModel> rows)
public jaxx.runtime.validator.swing.SwingValidator<MarineLitterBatchUIModel> getValidator()
getValidator in class AbstractTuttiUIHandler<MarineLitterBatchUIModel,MarineLitterBatchUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<MarineLitterBatchUIModel,MarineLitterBatchUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<MarineLitterBatchUIModel,MarineLitterBatchUI>protected JComponent getComponentToFocus()
getComponentToFocus in class AbstractTuttiUIHandler<MarineLitterBatchUIModel,MarineLitterBatchUI>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<MarineLitterBatchUIModel,MarineLitterBatchUI>protected void beforeOpenPopup(int rowIndex,
int columnIndex)
AbstractTuttiUIHandlerbeforeOpenPopup in class AbstractTuttiUIHandler<MarineLitterBatchUIModel,MarineLitterBatchUI>rowIndex - selected row index (or lowest selected one)columnIndex - selected column indexpublic void createBatch()
public void addBatch(CreateMarineLitterBatchUIModel model)
protected MarineLitterBatchRowModel loadBatch(MarineLitterBatch aBatch)
protected void saveRow(MarineLitterBatchRowModel row)
public void removeFromMarineLitterCategoriesUsed(MarineLitterBatchRowModel row)
protected void addToMarineLitterCategoriesUsed(MarineLitterBatchRowModel row)
Copyright © 2012–2013 Ifremer. All rights reserved.