public class IndividualObservationBatchUIHandler extends AbstractTuttiBatchTableUIHandler<IndividualObservationBatchRowModel,IndividualObservationBatchUIModel,IndividualObservationBatchUI> implements CaracteristicMapColumnUIHandler
| Modifier and Type | Field and Description |
|---|---|
protected ValidationService |
validationService |
protected WeightUnit |
weightUnit
Weight unit.
|
persistenceServiceCONFIRMATION_FORMAT, context, ui| Constructor and Description |
|---|
IndividualObservationBatchUIHandler(TuttiUI<?,?> parentUi,
IndividualObservationBatchUI ui) |
clearTableSelection, initBatchTablecleanrRowMonitor, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onModelRowsChanged, onRowModifyStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListeneraddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, changeValidatorContext, clearValidators, closeDialog, closeUI, decorate, decorate, getConfig, getContext, getDataContext, getDecorator, getModel, getPropertiesToIgnore, getTopestUI, getUI, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initButton, initButtonAttachment, initDatePicker, initLabel, initNumberEditor, initScrollPane, initTextField, initTimeEditor, initUI, isAutoSelectOnFocus, 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 IndividualObservationBatchUIHandler(TuttiUI<?,?> parentUi, IndividualObservationBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
protected IndividualObservationBatchRowModel loadBatch(IndividualObservationBatch aBatch)
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 onRowModified(int rowIndex,
IndividualObservationBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<IndividualObservationBatchRowModel,IndividualObservationBatchUIModel,IndividualObservationBatchUI>rowIndex - row index of the modified rowrow - modified rowpropertyName - name of the modified property of the rowoldValue - old value of the modified propertynewValue - new value of the modified propertyprotected 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 necessaryprotected void onRowValidStateChanged(int rowIndex,
IndividualObservationBatchRowModel row,
Boolean oldValue,
Boolean newValue)
protected void onAfterSelectedRowChanged(int oldRowIndex,
IndividualObservationBatchRowModel oldRow,
int newRowIndex,
IndividualObservationBatchRowModel newRow)
protected void addHighlighters(org.jdesktop.swingx.JXTable table)
public 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 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 recomputeBatchActionEnable()
protected void saveRow(IndividualObservationBatchRowModel row)
Copyright © 2012–2013 Ifremer. All rights reserved.