public class EditProtocolUIHandler extends AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI> implements 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 PersistenceService |
persistenceService
Persistence service.
|
protected SampleCategoryModel |
sampleCategoryModel |
CONFIRMATION_FORMAT, context, ui| Constructor and Description |
|---|
EditProtocolUIHandler(TuttiUI parentUi,
EditProtocolUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDoubleListListeners() |
protected void |
addHighlighters(org.jdesktop.swingx.JXTable table) |
protected void |
addLengthClassesColumnToModel(TableColumnModel model,
List<String> selectedIds) |
void |
afterInitUI() |
void |
beforeInitUI() |
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) |
void |
onCloseUI() |
Species |
openSelectOtherSpeciesDialog(String title,
List<Species> species) |
boolean |
quitUI()
Try to quit UI.
|
void |
removeDoubleListListeners() |
protected void |
selectLengthClasses(List<String> ids,
JComboBox comboBox) |
List<EditProtocolSpeciesRowModel> |
toRows(List<SpeciesProtocol> speciesProtocols) |
addAutoSelectOnFocus, addBooleanColumnToModel, addColumnToModel, addColumnToModel, addColumnToModel, addComboDataColumnToModel, addFloatColumnToModel, addFloatColumnToModel, addIntegerColumnToModel, askCancelEditBeforeLeaving, askSaveBeforeLeaving, autoSelectRowInTable, changeValidatorContext, clearValidators, closeDialog, closeUI, decorate, decorate, getConfig, getContext, getDataContext, getDecorator, getModel, getPropertiesToIgnore, getTopestUI, getUI, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initButton, initButtonAttachment, initDatePicker, initLabel, initNumberEditor, initScrollPane, initTextField, initTimeEditor, initUI, isAutoSelectOnFocus, listenValidationTableHasNoFatalError, listenValidatorValid, listModelIsModify, newComboModel, newListCellRender, newListCellRender, newListCellRender, newTableCellRender, newTableCellRender, newTableCellRender, openDialog, openRowMenu, quitScreen, registerValidators, selectListData, setBoolean, setDate, setText, showInformationMessage, showSuccessMessageprotected SelectSpeciesUI dialog
protected final PersistenceService persistenceService
protected final SampleCategoryModel sampleCategoryModel
protected List<jaxx.runtime.swing.editor.bean.BeanDoubleList<Caracteristic>> allDoubleLists
public EditProtocolUIHandler(TuttiUI parentUi, EditProtocolUI ui)
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 jaxx.runtime.validator.swing.SwingValidator<EditProtocolUIModel> getValidator()
getValidator in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>protected JComponent getComponentToFocus()
getComponentToFocus in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public List<EditProtocolSpeciesRowModel> toRows(List<SpeciesProtocol> speciesProtocols)
public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<EditProtocolUIModel,EditProtocolUI>public boolean quitUI()
CloseableUIquitUI in interface CloseableUItrue if ui is safe to quit, false otherwise
(means must stay on it).public 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)
protected void addHighlighters(org.jdesktop.swingx.JXTable table)
Copyright © 2012–2013 Ifremer. All rights reserved.