public class BenthosFrequencyUIHandler extends AbstractTuttiTableUIHandler<BenthosFrequencyRowModel,BenthosFrequencyUIModel,BenthosFrequencyUI> implements org.nuiton.jaxx.application.swing.util.Cancelable
| Modifier and Type | Field and Description |
|---|---|
protected WeightUnit |
weightUnit
Weight unit.
|
| Constructor and Description |
|---|
BenthosFrequencyUIHandler() |
cleanrRowMonitor, getRowPropertiesToIgnore, initTable, installTableKeyListener, installTableSaveOnRowChangedSelectionListener, onAfterSelectedRowChanged, onRowModifyStateChanged, recomputeRowValidState, saveSelectedRowIfNeeded, uninstallTableKeyListener, uninstallTableSaveOnRowChangedSelectionListeneraddColumnToModel, addFloatColumnToModel, addHighlighters, buildReminderLabelTitle, buildReminderLabelTitle, clearValidators, closeUI, getConfig, getContext, getDataContext, getDecorator, getPersistenceService, getPropertiesToIgnore, getTopestUI, getValidateCruiseOperationsService, getValidationService, getWeightStringValue, getWeightStringValue, initButtonAttachment, initJXTitledPanel, initLabel, initTextField, initUIComponent, listenModelModifiy, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, registerValidators, showInformationMessageaddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, beforeOpenPopup, changeValidatorContext, closeDialog, decorate, decorate, getListValidators, getModel, getParentContainer, getSimpleValidators, getUI, incrementsMessage, initBeanComboBox, initBeanComboBox, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initBeanList, initButton, 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, useSimpleValidatorsprotected WeightUnit weightUnit
public BenthosFrequencyTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<BenthosFrequencyRowModel,BenthosFrequencyUIModel,BenthosFrequencyUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<BenthosFrequencyRowModel,BenthosFrequencyUIModel,BenthosFrequencyUI>protected boolean isRowValid(BenthosFrequencyRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<BenthosFrequencyRowModel,BenthosFrequencyUIModel,BenthosFrequencyUI>row - row to validatetrue if row is valid, false otherwise.protected void onModelRowsChanged(List<BenthosFrequencyRowModel> rows)
protected void onRowModified(int rowIndex,
BenthosFrequencyRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<BenthosFrequencyRowModel,BenthosFrequencyUIModel,BenthosFrequencyUI>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<BenthosFrequencyRowModel> rowMonitor, BenthosFrequencyRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<BenthosFrequencyRowModel,BenthosFrequencyUIModel,BenthosFrequencyUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessaryprotected void onRowValidStateChanged(int rowIndex,
BenthosFrequencyRowModel row,
Boolean oldValue,
Boolean newValue)
public jaxx.runtime.validator.swing.SwingValidator<BenthosFrequencyUIModel> getValidator()
getValidator in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<BenthosFrequencyUIModel,BenthosFrequencyUI>public void beforeInit(BenthosFrequencyUI ui)
beforeInit in interface jaxx.runtime.spi.UIHandler<BenthosFrequencyUI>beforeInit in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<BenthosFrequencyUIModel,BenthosFrequencyUI>public void afterInit(BenthosFrequencyUI ui)
afterInit in interface jaxx.runtime.spi.UIHandler<BenthosFrequencyUI>protected JComponent getComponentToFocus()
getComponentToFocus in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<BenthosFrequencyUIModel,BenthosFrequencyUI>public void onCloseUI()
onCloseUI in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<BenthosFrequencyUIModel,BenthosFrequencyUI>public void cancel()
cancel in interface org.nuiton.jaxx.application.swing.util.Cancelablepublic void addLengthStepCaracteristic()
public void generateLengthSteps()
public void applyRafaleStep(Float step)
public void editBatch(BenthosFrequencyCellComponent.FrequencyCellEditor editor)
public void reset()
public void saveAndClose()
public void saveAndContinue()
protected JComponent getComponentToFocus(FrequencyConfigurationMode mode)
protected boolean canSaveFrequencies()
protected float getStep(Caracteristic caracteristic)
Copyright © 2012–2014 Ifremer. All rights reserved.