public class BenthosBatchUIHandler extends AbstractTuttiBatchTableUIHandler<BenthosBatchRowModel,BenthosBatchUIModel>
persistenceServicecontext| Constructor and Description |
|---|
BenthosBatchUIHandler(TuttiUI<?,?> parentUi,
BenthosBatchUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitUI() |
void |
beforeInitUI() |
protected BenthosBatchUIModel |
getModel() |
protected org.jdesktop.swingx.JXTable |
getTable() |
protected BenthosBatchTableModel |
getTableModel() |
protected boolean |
isRowValid(BenthosBatchRowModel row)
Validates the given row.
|
void |
onCloseUI() |
protected void |
onRowModified(int rowIndex,
BenthosBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
Invoke each time the
AbstractTuttiBeanUIModel.modify state on
the current selected row changed. |
protected void |
saveRow(BenthosBatchRowModel row) |
protected void |
saveSelectedRowIfRequired(TuttiBeanMonitor<BenthosBatchRowModel> rowMonitor,
BenthosBatchRowModel 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, uninstallTableSaveOnRowChangedSelectionListenercloseDialog, closeUI, decorate, getConfig, getContext, getDecorator, initBeanComboBox, initBeanList, initDatePicker, initNumberEditor, initTimeEditor, initUI, listenValidatorValid, listModelIsModify, newListCellRender, newListCellRender, newListCellRender, openDialog, selectFirstInCombo, selectListData, setBoolean, setDate, setText, showInformationMessagepublic BenthosBatchUIHandler(TuttiUI<?,?> parentUi, BenthosBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
selectFishingOperation in class AbstractTuttiBatchTableUIHandler<BenthosBatchRowModel,BenthosBatchUIModel>protected BenthosBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<BenthosBatchRowModel,BenthosBatchUIModel>protected org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<BenthosBatchRowModel,BenthosBatchUIModel>protected boolean isRowValid(BenthosBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<BenthosBatchRowModel,BenthosBatchUIModel>row - row to validatetrue if row is valid, false otherwise.protected void onRowModified(int rowIndex,
BenthosBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<BenthosBatchRowModel,BenthosBatchUIModel>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<BenthosBatchRowModel> rowMonitor, BenthosBatchRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<BenthosBatchRowModel,BenthosBatchUIModel>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessaryprotected BenthosBatchUIModel getModel()
getModel in class AbstractTuttiUIHandler<BenthosBatchUIModel>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<BenthosBatchUIModel>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<BenthosBatchUIModel>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<BenthosBatchUIModel>protected void saveRow(BenthosBatchRowModel row)
Copyright © 2012-2013 Ifremer. All Rights Reserved.