public class MainUIHandler extends AbstractTuttiUIHandler<TuttiUIContext,MainUI>
| Modifier and Type | Field and Description |
|---|---|
protected JComponent |
currentBody |
protected PersistenceService |
persistenceService |
CONFIRMATION_FORMAT, context, ui| Modifier | Constructor and Description |
|---|---|
|
MainUIHandler(TuttiUIContext context) |
protected |
MainUIHandler(TuttiUIContext context,
MainUI ui) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptLocale(Locale l,
String expected) |
void |
afterInitUI() |
void |
beforeInitUI() |
void |
changeLocale(Locale locale) |
void |
changeTitle() |
void |
clearValidators() |
AbstractTuttiUIHandler |
getCurrentHandler() |
PersistenceService |
getPersistenceService()
Get the persistence service instance used by the handler.
|
protected String |
getSelectedCruiseTitle() |
jaxx.runtime.validator.swing.SwingValidator<TuttiUIContext> |
getValidator() |
void |
gotoSite() |
void |
onCloseUI() |
boolean |
quitCurrentScreen() |
void |
registerValidator(jaxx.runtime.validator.swing.SwingValidator validator) |
void |
reloadPersistenceService()
Reload the persistence service and set the new ne into the handler.
|
void |
reloadUI() |
void |
setBodyTitle(String title) |
protected void |
setScreen(TuttiScreen screen) |
void |
showAbout() |
void |
showConfig() |
void |
showHelp() |
void |
showInformationMessage(String message) |
protected void |
updateBusyState(boolean busy) |
askCancelEditBeforeLeaving, askOverwriteFile, askSaveBeforeLeaving, changeValidatorContext, closeDialog, closeUI, createLogicAction, createUIAction, decorate, doAction, getConfig, getContext, getDataContext, getDecorator, getLogicAction, getModel, getPropertiesToIgnore, getTopestUI, getUI, initAction, initBeanComboBox, initBeanComboBox, initBeanFilterableComboBox, initBeanFilterableComboBox, initBeanList, initButtonAttachment, initDatePicker, initNumberEditor, initTimeEditor, initUI, listenValidatorValid, listModelIsModify, newComboModel, newListCellRender, newListCellRender, newListCellRender, openDialog, quitScreen, registerValidators, selectListData, setBoolean, setDate, setTextprotected JComponent currentBody
protected PersistenceService persistenceService
protected MainUIHandler(TuttiUIContext context, MainUI ui)
public MainUIHandler(TuttiUIContext context)
public void beforeInitUI()
beforeInitUI in class AbstractTuttiUIHandler<TuttiUIContext,MainUI>protected void updateBusyState(boolean busy)
public void afterInitUI()
afterInitUI in class AbstractTuttiUIHandler<TuttiUIContext,MainUI>public void onCloseUI()
onCloseUI in class AbstractTuttiUIHandler<TuttiUIContext,MainUI>public jaxx.runtime.validator.swing.SwingValidator<TuttiUIContext> getValidator()
getValidator in class AbstractTuttiUIHandler<TuttiUIContext,MainUI>public void reloadUI()
public void changeLocale(Locale locale)
public void showConfig()
public void showAbout()
public void gotoSite()
public void showHelp()
public final void showInformationMessage(String message)
showInformationMessage in interface UIMessageNotifiershowInformationMessage in class AbstractTuttiUIHandler<TuttiUIContext,MainUI>public void registerValidator(jaxx.runtime.validator.swing.SwingValidator validator)
public void clearValidators()
clearValidators in class AbstractTuttiUIHandler<TuttiUIContext,MainUI>public boolean quitCurrentScreen()
public AbstractTuttiUIHandler getCurrentHandler()
public void reloadPersistenceService()
public PersistenceService getPersistenceService()
protected void setScreen(TuttiScreen screen)
public void changeTitle()
protected String getSelectedCruiseTitle()
public void setBodyTitle(String title)
Copyright © 2012-2013 Ifremer. All Rights Reserved.