public class MarineLitterBatchUIHandler extends AbstractTuttiBatchTableUIHandler<MarineLitterBatchRowModel,MarineLitterBatchUIModel,MarineLitterBatchUI>
| Modifier and Type | Field and Description |
|---|---|
protected ValidationService |
validationService |
persistenceServiceCONFIRMATION_FORMAT, context, ui| Constructor and Description |
|---|
MarineLitterBatchUIHandler(TuttiUI<?,?> parentUi,
MarineLitterBatchUI ui) |
clearTableSelection, initBatchTablecleanrRowMonitor, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onRowModifyStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListeneraddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, 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
public MarineLitterBatchUIHandler(TuttiUI<?,?> parentUi, MarineLitterBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
protected MarineLitterBatchRowModel loadBatch(MarineLitterBatch aBatch)
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 onRowModified(int rowIndex,
MarineLitterBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<MarineLitterBatchRowModel,MarineLitterBatchUIModel,MarineLitterBatchUI>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<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)
protected void onRowValidStateChanged(int rowIndex,
MarineLitterBatchRowModel row,
Boolean oldValue,
Boolean newValue)
protected void onAfterSelectedRowChanged(int oldRowIndex,
MarineLitterBatchRowModel oldRow,
int newRowIndex,
MarineLitterBatchRowModel newRow)
protected void addHighlighters(org.jdesktop.swingx.JXTable table)
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>public void createBatch()
public void addBatch(CreateMarineLitterBatchUIModel model)
protected void recomputeBatchActionEnable()
protected void saveRow(MarineLitterBatchRowModel row)
public void removeFromMarineLitterCategoriesUsed(MarineLitterBatchRowModel row)
protected void addToMarineLitterCategoriesUsed(MarineLitterBatchRowModel row)
Copyright © 2012–2013 Ifremer. All rights reserved.