public class MacroWasteBatchUIHandler extends AbstractTuttiBatchTableUIHandler<MacroWasteBatchRowModel,MacroWasteBatchUIModel,MacroWasteBatchUI>
persistenceServiceCONFIRMATION_FORMAT, context, ui, WARNING_FORMAT| Constructor and Description |
|---|
MacroWasteBatchUIHandler(TuttiUI<?,?> parentUi,
MacroWasteBatchUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInitUI() |
void |
beforeInitUI() |
org.jdesktop.swingx.JXTable |
getTable() |
MacroWasteBatchTableModel |
getTableModel() |
jaxx.runtime.validator.swing.SwingValidator<MacroWasteBatchUIModel> |
getValidator() |
protected boolean |
isRowValid(MacroWasteBatchRowModel row)
Validates the given row.
|
void |
onCloseUI() |
protected void |
onRowModified(int rowIndex,
MacroWasteBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
Invoke each time the
AbstractTuttiBeanUIModel.modify state on
the current selected row changed. |
protected void |
saveRow(MacroWasteBatchRowModel row) |
protected void |
saveSelectedRowIfRequired(TuttiBeanMonitor<MacroWasteBatchRowModel> rowMonitor,
MacroWasteBatchRowModel row)
Given the row monitor and his monitored row, try to save it if required.
|
void |
selectFishingOperation(FishingOperation bean) |
clearTableSelection, initBatchTable, saveSelectedRowIfRequiredaddHighlighters, 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, initTextField, initTimeEditor, initUI, isAutoSelectOnFocus, listenValidatorValid, listModelIsModify, newComboModel, newListCellRender, newListCellRender, newListCellRender, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, quitScreen, registerValidators, selectListData, setBoolean, setDate, setText, showInformationMessage, showSuccessMessagepublic MacroWasteBatchUIHandler(TuttiUI<?,?> parentUi, MacroWasteBatchUI ui)
public void selectFishingOperation(FishingOperation bean)
public MacroWasteBatchTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<MacroWasteBatchRowModel,MacroWasteBatchUIModel,MacroWasteBatchUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<MacroWasteBatchRowModel,MacroWasteBatchUIModel,MacroWasteBatchUI>protected boolean isRowValid(MacroWasteBatchRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<MacroWasteBatchRowModel,MacroWasteBatchUIModel,MacroWasteBatchUI>row - row to validatetrue if row is valid, false otherwise.protected void onRowModified(int rowIndex,
MacroWasteBatchRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<MacroWasteBatchRowModel,MacroWasteBatchUIModel,MacroWasteBatchUI>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<MacroWasteBatchRowModel> rowMonitor, MacroWasteBatchRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<MacroWasteBatchRowModel,MacroWasteBatchUIModel,MacroWasteBatchUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessarypublic jaxx.runtime.validator.swing.SwingValidator<MacroWasteBatchUIModel> getValidator()
getValidator in class AbstractTuttiUIHandler<MacroWasteBatchUIModel,MacroWasteBatchUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<MacroWasteBatchUIModel,MacroWasteBatchUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<MacroWasteBatchUIModel,MacroWasteBatchUI>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<MacroWasteBatchUIModel,MacroWasteBatchUI>protected void saveRow(MacroWasteBatchRowModel row)
Copyright © 2012-2013 Ifremer. All Rights Reserved.