public class SpeciesFrequencyUIHandler extends AbstractTuttiTableUIHandler<SpeciesFrequencyRowModel,SpeciesFrequencyUIModel,SpeciesFrequencyUI> implements org.nuiton.jaxx.application.swing.util.Cancelable
| Modifier and Type | Field and Description |
|---|---|
protected FeedReaderListener |
feedReaderListener
To consume measures when they arrive from the ichtyometer.
|
protected WeightUnit |
weightUnit
Weight unit.
|
| Constructor and Description |
|---|
SpeciesFrequencyUIHandler() |
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, initButtonAttachment, initJXTitledPanel, initLabel, initTextField, initUIComponent, listenModelModifiy, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, registerValidators, showInformationMessageaddAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, beforeOpenPopup, changeValidatorContext, closeDialog, decorate, decorate, getModel, getParentContainer, getUI, incrementsMessage, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initBeanList, initButton, initCoordinateDMDEditor, initCoordinateDMSEditor, initDatePicker, initNumberEditor, initScrollPane, initTimeEditor, initUI, isAutoSelectOnFocus, newComboModel, newListCellRender, newListCellRender, newListCellRender, newNumberCellRenderer, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, openRowMenu, quitScreen, selectListData, setBoolean, setDate, setFile, setText, showSuccessMessageprotected WeightUnit weightUnit
protected final FeedReaderListener feedReaderListener
public SpeciesFrequencyTableModel getTableModel()
getTableModel in class AbstractTuttiTableUIHandler<SpeciesFrequencyRowModel,SpeciesFrequencyUIModel,SpeciesFrequencyUI>public org.jdesktop.swingx.JXTable getTable()
getTable in class AbstractTuttiTableUIHandler<SpeciesFrequencyRowModel,SpeciesFrequencyUIModel,SpeciesFrequencyUI>protected boolean isRowValid(SpeciesFrequencyRowModel row)
AbstractTuttiTableUIHandlerisRowValid in class AbstractTuttiTableUIHandler<SpeciesFrequencyRowModel,SpeciesFrequencyUIModel,SpeciesFrequencyUI>row - row to validatetrue if row is valid, false otherwise.protected void onModelRowsChanged(List<SpeciesFrequencyRowModel> rows)
protected void onRowModified(int rowIndex,
SpeciesFrequencyRowModel row,
String propertyName,
Object oldValue,
Object newValue)
AbstractTuttiTableUIHandlerAbstractTuttiBeanUIModel.modify state on
the current selected row changed.onRowModified in class AbstractTuttiTableUIHandler<SpeciesFrequencyRowModel,SpeciesFrequencyUIModel,SpeciesFrequencyUI>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<SpeciesFrequencyRowModel> rowMonitor, SpeciesFrequencyRowModel row)
AbstractTuttiTableUIHandlersaveSelectedRowIfRequired in class AbstractTuttiTableUIHandler<SpeciesFrequencyRowModel,SpeciesFrequencyUIModel,SpeciesFrequencyUI>rowMonitor - the row monitor (see AbstractTuttiTableUIHandler.rowMonitor)row - the row to save if necessaryprotected void onRowValidStateChanged(int rowIndex,
SpeciesFrequencyRowModel row,
Boolean oldValue,
Boolean newValue)
public jaxx.runtime.validator.swing.SwingValidator<SpeciesFrequencyUIModel> getValidator()
getValidator in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<SpeciesFrequencyUIModel,SpeciesFrequencyUI>public void beforeInit(SpeciesFrequencyUI ui)
beforeInit in interface jaxx.runtime.spi.UIHandler<SpeciesFrequencyUI>beforeInit in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<SpeciesFrequencyUIModel,SpeciesFrequencyUI>public void afterInit(SpeciesFrequencyUI ui)
afterInit in interface jaxx.runtime.spi.UIHandler<SpeciesFrequencyUI>protected JComponent getComponentToFocus()
getComponentToFocus in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<SpeciesFrequencyUIModel,SpeciesFrequencyUI>public void onCloseUI()
onCloseUI in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<SpeciesFrequencyUIModel,SpeciesFrequencyUI>public void cancel()
cancel in interface org.nuiton.jaxx.application.swing.util.Cancelablepublic void addLengthStepCaracteristic()
public void generateLengthSteps()
public void applyRafaleStep(Float step, boolean fromIchtyometer)
public void editBatch(SpeciesFrequencyCellComponent.FrequencyCellEditor editor)
public void reset()
public void saveAndClose()
public void saveAndContinue()
protected void consumeFeedRecord(FeedReaderRecord record)
protected void listenItchtyometer()
protected void recomputeTotalNumberAndWeight()
protected JComponent getComponentToFocus(FrequencyConfigurationMode mode)
protected boolean canSaveFrequencies()
Copyright © 2012–2014 Ifremer. All rights reserved.