public class AccidentalBatchUIHandler extends AbstractTuttiBatchTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel>
persistenceServicecontext| Constructor and Description |
|---|
AccidentalBatchUIHandler(TuttiUI<?,?> parentUi,
AccidentalBatchUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitUI() |
void |
beforeInitUI() |
protected AccidentalBatchUIModel |
getModel() |
protected org.jdesktop.swingx.JXTable |
getTable() |
protected AccidentalBatchTableModel |
getTableModel() |
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, uninstallTableSaveOnRowChangedSelectionListenerchangeValidatorContext, closeDialog, closeUI, decorate, getConfig, getContext, getDecorator, initBeanComboBox, initBeanList, initDatePicker, initNumberEditor, initTimeEditor, initUI, listenValidatorValid, listModelIsModify, newListCellRender, newListCellRender, newListCellRender, openDialog, selectFirstInCombo, selectListData, setBoolean, setDate, setText, showInformationMessagepublic AccidentalBatchUIHandler(TuttiUI<?,?> parentUi, AccidentalBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
selectFishingOperation in class AbstractTuttiBatchTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel>protected AccidentalBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel>protected org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel>protected boolean isRowValid(AccidentalBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<AccidentalBatchRowModel,AccidentalBatchUIModel>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>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>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessaryprotected AccidentalBatchUIModel getModel()
getModel in class AbstractTuttiUIHandler<AccidentalBatchUIModel>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<AccidentalBatchUIModel>protected void saveRow(AccidentalBatchRowModel row)
Copyright © 2012-2013 Ifremer. All Rights Reserved.