public class PlanktonBatchUIHandler extends AbstractTuttiBatchTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel,PlanktonBatchUI>
persistenceServiceCONFIRMATION_FORMAT, context, ui, WARNING_FORMAT| Constructor and Description |
|---|
PlanktonBatchUIHandler(TuttiUI<?,?> parentUi,
PlanktonBatchUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitUI() |
void |
beforeInitUI() |
protected JComponent |
getComponentToFocus() |
org.jdesktop.swingx.JXTable |
getTable() |
PlanktonBatchTableModel |
getTableModel() |
jaxx.runtime.validator.swing.SwingValidator<PlanktonBatchUIModel> |
getValidator() |
protected boolean |
isRowValid(PlanktonBatchRowModel row)
Validates the given row.
|
void |
onCloseUI() |
protected void |
onRowModified(int rowIndex,
PlanktonBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
Invoke each time the
AbstractTuttiBeanUIModel.modify state on
the current selected row changed. |
protected void |
saveRow(PlanktonBatchRowModel row) |
protected void |
saveSelectedRowIfRequired(TuttiBeanMonitor<PlanktonBatchRowModel> rowMonitor,
PlanktonBatchRowModel row)
Given the row monitor and his monitored row, try to save it if required.
|
void |
selectFishingOperation(FishingOperation bean) |
clearTableSelection, initBatchTableaddHighlighters, cleanrRowMonitor, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onAfterSelectedRowChanged, onModelRowsChanged, onRowModifyStateChanged, onRowValidStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListeneraddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askOverwriteFile, 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, showSuccessMessagepublic PlanktonBatchUIHandler(TuttiUI<?,?> parentUi, PlanktonBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
selectFishingOperation in class AbstractTuttiBatchTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel,PlanktonBatchUI>public PlanktonBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel,PlanktonBatchUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel,PlanktonBatchUI>protected boolean isRowValid(PlanktonBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel,PlanktonBatchUI>row - row to validatetrue if row is valid, false otherwise.protected void onRowModified(int rowIndex,
PlanktonBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel,PlanktonBatchUI>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<PlanktonBatchRowModel> rowMonitor, PlanktonBatchRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel,PlanktonBatchUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessarypublic jaxx.runtime.validator.swing.SwingValidator<PlanktonBatchUIModel> getValidator()
getValidator in class AbstractTuttiUIHandler<PlanktonBatchUIModel,PlanktonBatchUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<PlanktonBatchUIModel,PlanktonBatchUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<PlanktonBatchUIModel,PlanktonBatchUI>protected JComponent getComponentToFocus()
getComponentToFocus in class AbstractTuttiUIHandler<PlanktonBatchUIModel,PlanktonBatchUI>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<PlanktonBatchUIModel,PlanktonBatchUI>protected void saveRow(PlanktonBatchRowModel row)
Copyright © 2012-2013 Ifremer. All Rights Reserved.