public class AccidentalBatchUIHandler extends AbstractTuttiBatchTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchUI>
persistenceServiceCONFIRMATION_FORMAT, context, ui| Constructor and Description |
|---|
AccidentalBatchUIHandler(TuttiUI<?,?> parentUi,
AccidentalBatchUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitUI() |
void |
beforeInitUI() |
org.jdesktop.swingx.JXTable |
getTable() |
AccidentalBatchTableModel |
getTableModel() |
jaxx.runtime.validator.swing.SwingValidator<AccidentalBatchUIModel> |
getValidator() |
protected boolean |
isRowValid(AccidentalBatchRowModel row)
Validates the given row.
|
void |
onCloseUI() |
protected void |
onRowModified(int rowIndex,
AccidentalBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
Invoke each time the
AbstractTuttiBeanUIModel.modify state on
the current selected row changed. |
protected void |
saveRow(AccidentalBatchRowModel row) |
protected void |
saveSelectedRowIfRequired(TuttiBeanMonitor<AccidentalBatchRowModel> rowMonitor,
AccidentalBatchRowModel row)
Given the row monitor and his monitored row, try to save it if required.
|
void |
selectFishingOperation(FishingOperation bean) |
clearTableSelection, initBatchTable, saveSelectedRowIfRequiredaddBooleanColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, autoSelectRowInTable, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, newTableCellRender, newTableCellRender, newTableCellRender, onAfterSelectedRowChanged, onModelRowsChanged, onRowModifyStateChanged, onRowValidStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListeneraskCancelEditBeforeLeaving, askOverwriteFile, askSaveBeforeLeaving, changeValidatorContext, clearValidators, closeDialog, closeUI, createLogicAction, createUIAction, decorate, doAction, getConfig, getContext, getDataContext, getDecorator, getLogicAction, getModel, getPropertiesToIgnore, getTopestUI, getUI, initAction, initBeanComboBox, initBeanComboBox, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initButtonAttachment, initDatePicker, initNumberEditor, initTimeEditor, initUI, listenValidatorValid, listModelIsModify, newComboModel, newListCellRender, newListCellRender, newListCellRender, openDialog, quitScreen, registerValidators, selectListData, setBoolean, setDate, setText, showInformationMessagepublic AccidentalBatchUIHandler(TuttiUI<?,?> parentUi, AccidentalBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
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 onRowModified(int rowIndex,
AccidentalBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel,AccidentalBatchUI>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<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 AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel,AccidentalBatchUI>protected void saveRow(AccidentalBatchRowModel row)
Copyright © 2012-2013 Ifremer. All Rights Reserved.