public abstract class AbstractTuttiUIHandler<M> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TuttiUIContext |
context |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTuttiUIHandler(TuttiUIContext context) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
afterInitUI() |
abstract void |
beforeInitUI() |
TuttiConfig |
getConfig() |
TuttiUIContext |
getContext() |
protected <O> org.nuiton.util.decorator.Decorator<O> |
getDecorator(Class<O> type,
String name) |
protected abstract M |
getModel() |
protected <E extends IdAware> |
initBeanComboBox(jaxx.runtime.swing.editor.bean.BeanComboBox<E> comboBox,
List<E> data,
E selectedData)
Prépare un component de choix d'entités pour un type d'entité donné et
pour un service de persistance donné.
|
protected <E extends IdAware> |
initBeanList(jaxx.runtime.swing.editor.bean.BeanDoubleList<E> list,
List<E> data,
List<E> selectedData)
Prépare un component de choix d'entités pour un type d'entité donné et
pour un service de persistance donné.
|
protected void |
initDatePicker(org.jdesktop.swingx.JXDatePicker picker) |
protected void |
initNumberEditor(jaxx.runtime.swing.editor.NumberEditor editor) |
protected void |
initTimeEditor(SimpleTimeEditor editor) |
protected void |
initUI(TuttiUI ui) |
protected void |
listenValidatorValid(org.nuiton.validator.bean.simple.SimpleBeanValidator validator,
AbstractTuttiBeanUIModel model) |
protected void |
listModelIsModify(AbstractTuttiBeanUIModel model) |
protected <O> ListCellRenderer |
newListCellRender(Class<O> type) |
protected <O> ListCellRenderer |
newListCellRender(Class<O> type,
String name) |
protected <O> ListCellRenderer |
newListCellRender(org.nuiton.util.decorator.Decorator<O> decorator) |
abstract void |
onCloseUI() |
void |
selectListData(ListSelectionEvent event,
String property) |
void |
setBoolean(ItemEvent event,
String property) |
void |
setDate(ActionEvent event,
String property) |
void |
setText(KeyEvent event,
String property) |
protected <B extends IdAware> |
updateIndices(JList jlist,
List<B> list) |
protected final TuttiUIContext context
protected AbstractTuttiUIHandler(TuttiUIContext context)
public abstract void beforeInitUI()
public abstract void afterInitUI()
public abstract void onCloseUI()
protected abstract M getModel()
public TuttiUIContext getContext()
public TuttiConfig getConfig()
public void setDate(ActionEvent event, String property)
public void selectListData(ListSelectionEvent event, String property)
protected void initUI(TuttiUI ui)
protected <E extends IdAware> void initBeanComboBox(jaxx.runtime.swing.editor.bean.BeanComboBox<E> comboBox, List<E> data, E selectedData)
comboBox - le component graphique à initialiserprotected <E extends IdAware> void initBeanList(jaxx.runtime.swing.editor.bean.BeanDoubleList<E> list, List<E> data, List<E> selectedData)
list - le component graphique à initialiserdata - selectedData - protected void initNumberEditor(jaxx.runtime.swing.editor.NumberEditor editor)
protected void initTimeEditor(SimpleTimeEditor editor)
protected void initDatePicker(org.jdesktop.swingx.JXDatePicker picker)
protected <O> org.nuiton.util.decorator.Decorator<O> getDecorator(Class<O> type, String name)
protected <O> ListCellRenderer newListCellRender(Class<O> type)
protected <O> ListCellRenderer newListCellRender(Class<O> type, String name)
protected <O> ListCellRenderer newListCellRender(org.nuiton.util.decorator.Decorator<O> decorator)
protected void listenValidatorValid(org.nuiton.validator.bean.simple.SimpleBeanValidator validator,
AbstractTuttiBeanUIModel model)
protected void listModelIsModify(AbstractTuttiBeanUIModel model)
Copyright © 2012 Ifremer. All Rights Reserved.