public class EditSampleCategoryModelUIHandler extends AbstractTuttiTableUIHandler<EditSampleCategoryModelRowModel,EditSampleCategoryModelUIModel,EditSampleCategoryModelUI> implements org.nuiton.jaxx.application.swing.util.Cancelable, org.nuiton.jaxx.application.swing.util.CloseableUI
EditSampleCategoryModelUI.| Constructor and Description |
|---|
EditSampleCategoryModelUIHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCaracteristic() |
void |
afterInit(EditSampleCategoryModelUI ui) |
void |
beforeInit(EditSampleCategoryModelUI ui) |
void |
cancel() |
protected JComponent |
getComponentToFocus() |
org.jdesktop.swingx.JXTable |
getTable() |
EditSampleCategoryModelTableModel |
getTableModel() |
jaxx.runtime.validator.swing.SwingValidator<EditSampleCategoryModelUIModel> |
getValidator() |
protected void |
initTable(org.jdesktop.swingx.JXTable table) |
protected boolean |
isRowValid(EditSampleCategoryModelRowModel row)
Validates the given row.
|
void |
moveDownEntry() |
void |
moveUpEntry() |
protected void |
onAfterSelectedRowChanged(int oldRowIndex,
EditSampleCategoryModelRowModel oldRow,
int newRowIndex,
EditSampleCategoryModelRowModel newRow) |
void |
onCloseUI() |
protected void |
onRowModified(int rowIndex,
EditSampleCategoryModelRowModel row,
String propertyName,
Object oldValue,
Object newValue)
Invoke each time the
AbstractTuttiBeanUIModel.modify state on
the current selected row changed. |
boolean |
quitUI() |
protected void |
recomputePopupActions() |
void |
removeEntry() |
protected void |
saveSelectedRowIfRequired(TuttiBeanMonitor<EditSampleCategoryModelRowModel> rowMonitor,
EditSampleCategoryModelRowModel row)
Given the row monitor and his monitored row, try to save it if required.
|
cleanrRowMonitor, getRowPropertiesToIgnore, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onModelRowsChanged, onRowModifyStateChanged, onRowValidStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListeneraddColumnToModel, addFloatColumnToModel, addHighlighters, buildReminderLabelTitle, buildReminderLabelTitle, clearValidators, closeUI, getConfig, getContext, getDataContext, getDecorator, getPersistenceService, getPropertiesToIgnore, getTopestUI, getValidateCruiseOperationsService, getValidationService, getWeightStringValue, getWeightStringValue, initButton, initButtonAttachment, initJXTitledPanel, initLabel, initNumberEditor, initTextField, initUIComponent, listenModelModifiy, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, registerValidators, showInformationMessageaddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, addIntegerColumnToModel, affectKeyStroke, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, beforeOpenPopup, changeValidatorContext, closeDialog, decorate, decorate, getListValidators, getModel, getParentContainer, getSimpleValidators, getUI, incrementsMessage, initBeanComboBox, initBeanComboBox, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initBeanList, initComponentToFocus, initCoordinateDMDEditor, initCoordinateDMSEditor, initDatePicker, initNumberEditor, initScrollPane, initTimeEditor, initUI, initValidators, isAutoSelectOnFocus, newComboModel, newListCellRender, newListCellRender, newListCellRender, newNumberCellRenderer, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, openRowMenu, quitInternalScreen, quitScreen, quitScreen, selectListData, setBoolean, setDate, setFile, setText, showSuccessMessage, useListValidators, useSimpleValidatorspublic void addCaracteristic()
public void removeEntry()
public void moveUpEntry()
public void moveDownEntry()
public EditSampleCategoryModelTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<EditSampleCategoryModelRowModel,EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>protected JComponent getComponentToFocus()
getComponentToFocus in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<EditSampleCategoryModelRowModel,EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>protected boolean isRowValid(EditSampleCategoryModelRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<EditSampleCategoryModelRowModel,EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>row - row to validatetrue if row is valid, false otherwise.protected void onAfterSelectedRowChanged(int oldRowIndex,
EditSampleCategoryModelRowModel oldRow,
int newRowIndex,
EditSampleCategoryModelRowModel newRow)
protected void saveSelectedRowIfRequired(TuttiBeanMonitor<EditSampleCategoryModelRowModel> rowMonitor, EditSampleCategoryModelRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<EditSampleCategoryModelRowModel,EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessaryprotected void onRowModified(int rowIndex,
EditSampleCategoryModelRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<EditSampleCategoryModelRowModel,EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>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 propertypublic boolean quitUI()
quitUI in interface org.nuiton.jaxx.application.swing.util.CloseableUIpublic void beforeInit(EditSampleCategoryModelUI ui)
beforeInit in interface jaxx.runtime.spi.UIHandler<EditSampleCategoryModelUI>beforeInit in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>public void afterInit(EditSampleCategoryModelUI ui)
afterInit in interface jaxx.runtime.spi.UIHandler<EditSampleCategoryModelUI>protected void initTable(org.jdesktop.swingx.JXTable table)
public void cancel()
cancel in interface org.nuiton.jaxx.application.swing.util.Cancelablepublic void onCloseUI()
onCloseUI in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>public jaxx.runtime.validator.swing.SwingValidator<EditSampleCategoryModelUIModel> getValidator()
getValidator in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditSampleCategoryModelUIModel,EditSampleCategoryModelUI>protected void recomputePopupActions()
Copyright © 2012–2015 Ifremer. All rights reserved.