public class PlanktonBatchUIHandler extends AbstractTuttiBatchTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel>
persistenceServicecontext| Constructor and Description |
|---|
PlanktonBatchUIHandler(TuttiUI<?,?> parentUi,
PlanktonBatchUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitUI() |
void |
beforeInitUI() |
protected PlanktonBatchUIModel |
getModel() |
protected org.jdesktop.swingx.JXTable |
getTable() |
protected PlanktonBatchTableModel |
getTableModel() |
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, 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 PlanktonBatchUIHandler(TuttiUI<?,?> parentUi, PlanktonBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
selectFishingOperation in class AbstractTuttiBatchTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel>protected PlanktonBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel>protected org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel>protected boolean isRowValid(PlanktonBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<PlanktonBatchRowModel,PlanktonBatchUIModel>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>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>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessaryprotected PlanktonBatchUIModel getModel()
getModel in class AbstractTuttiUIHandler<PlanktonBatchUIModel>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<PlanktonBatchUIModel>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<PlanktonBatchUIModel>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<PlanktonBatchUIModel>protected void saveRow(PlanktonBatchRowModel row)
Copyright © 2012-2013 Ifremer. All Rights Reserved.