public class EditProtocolUIHandler extends AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI> implements org.nuiton.jaxx.application.swing.util.CloseableUI
| Modifier and Type | Class and Description |
|---|---|
protected static class |
EditProtocolUIHandler.SelectValuePredicate |
protected static class |
EditProtocolUIHandler.UpdateSelectedList |
| Modifier and Type | Field and Description |
|---|---|
protected List<jaxx.runtime.swing.editor.bean.BeanDoubleList<Caracteristic>> |
allDoubleLists |
protected SelectSpeciesUI |
dialog |
protected SampleCategoryModel |
sampleCategoryModel |
| Constructor and Description |
|---|
EditProtocolUIHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDoubleListListeners() |
protected void |
addLengthClassesColumnToModel(TableColumnModel model,
List<String> selectedIds) |
void |
afterInit(EditProtocolUI ui) |
void |
beforeInit(EditProtocolUI ui) |
org.jdesktop.swingx.JXTable |
getBenthosTable() |
EditProtocolSpeciesTableModel |
getBenthosTableModel() |
protected JComponent |
getComponentToFocus() |
org.jdesktop.swingx.JXTable |
getSpeciesTable() |
EditProtocolSpeciesTableModel |
getSpeciesTableModel() |
static String |
getTitle(boolean exist) |
jaxx.runtime.validator.swing.SwingValidator<EditProtocolUIModel> |
getValidator() |
protected void |
initDoubleList(String propertyId,
jaxx.runtime.swing.editor.bean.BeanDoubleList<Caracteristic> widget,
List<Caracteristic> availableCaracteristics,
List<String> selectedCaracteristics) |
protected void |
initTable(org.jdesktop.swingx.JXTable table,
org.jdesktop.swingx.table.DefaultTableColumnModelExt columnModel,
org.jdesktop.swingx.table.TableColumnExt speciesColumn,
List<EditProtocolSpeciesRowModel> rows,
ListSelectionListener selectionListener) |
boolean |
isSpeciesSelected(Object selectedItem) |
void |
onCloseUI() |
Species |
openSelectOtherSpeciesDialog(String title,
List<Species> species) |
boolean |
quitUI() |
void |
removeDoubleListListeners() |
protected void |
selectLengthClasses(List<String> ids,
JComboBox comboBox) |
List<EditProtocolSpeciesRowModel> |
toRows(List<SpeciesProtocol> speciesProtocols) |
addColumnToModel, 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, affectKeyStroke, 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 SelectSpeciesUI dialog
protected SampleCategoryModel sampleCategoryModel
protected List<jaxx.runtime.swing.editor.bean.BeanDoubleList<Caracteristic>> allDoubleLists
public static String getTitle(boolean exist)
public org.jdesktop.swingx.JXTable getSpeciesTable()
public org.jdesktop.swingx.JXTable getBenthosTable()
public EditProtocolSpeciesTableModel getSpeciesTableModel()
public EditProtocolSpeciesTableModel getBenthosTableModel()
public boolean isSpeciesSelected(Object selectedItem)
public jaxx.runtime.validator.swing.SwingValidator<EditProtocolUIModel> getValidator()
getValidator in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditProtocolUIModel,EditProtocolUI>public void beforeInit(EditProtocolUI ui)
beforeInit in interface jaxx.runtime.spi.UIHandler<EditProtocolUI>beforeInit in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditProtocolUIModel,EditProtocolUI>public void afterInit(EditProtocolUI ui)
afterInit in interface jaxx.runtime.spi.UIHandler<EditProtocolUI>protected JComponent getComponentToFocus()
getComponentToFocus in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditProtocolUIModel,EditProtocolUI>public List<EditProtocolSpeciesRowModel> toRows(List<SpeciesProtocol> speciesProtocols)
public void onCloseUI()
onCloseUI in class org.nuiton.jaxx.application.swing.AbstractApplicationUIHandler<EditProtocolUIModel,EditProtocolUI>public boolean quitUI()
quitUI in interface org.nuiton.jaxx.application.swing.util.CloseableUIpublic void addDoubleListListeners()
public void removeDoubleListListeners()
public Species openSelectOtherSpeciesDialog(String title, List<Species> species)
protected void initDoubleList(String propertyId, jaxx.runtime.swing.editor.bean.BeanDoubleList<Caracteristic> widget, List<Caracteristic> availableCaracteristics, List<String> selectedCaracteristics)
protected void addLengthClassesColumnToModel(TableColumnModel model, List<String> selectedIds)
protected void initTable(org.jdesktop.swingx.JXTable table,
org.jdesktop.swingx.table.DefaultTableColumnModelExt columnModel,
org.jdesktop.swingx.table.TableColumnExt speciesColumn,
List<EditProtocolSpeciesRowModel> rows,
ListSelectionListener selectionListener)
Copyright © 2012–2014 Ifremer. All rights reserved.