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 abstract M |
getModel() |
protected <E extends AbstractTuttiBean> |
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 AbstractTuttiBean> |
initBeanList(jaxx.runtime.swing.editor.bean.BeanListHeader<E> listHeader,
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(jaxx.runtime.swing.editor.TimeEditor 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> TableCellRenderer |
newTableCellRender(Class<O> type) |
abstract void |
onCloseUI() |
void |
selectListData(ListSelectionEvent event,
String property) |
void |
setBoolean(ItemEvent event,
String property) |
protected void |
setProperty(Object bean,
String property,
Object value) |
void |
setText(KeyEvent event,
String property) |
protected <B extends AbstractTuttiBean> |
updateIndices(JList<B> 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 selectListData(ListSelectionEvent event, String property)
protected void initUI(TuttiUI ui)
protected <E extends AbstractTuttiBean> void initBeanComboBox(jaxx.runtime.swing.editor.bean.BeanComboBox<E> comboBox, List<E> data, E selectedData)
comboBox - le component graphique à initialiserprotected <E extends AbstractTuttiBean> void initBeanList(jaxx.runtime.swing.editor.bean.BeanListHeader<E> listHeader, List<E> data, List<E> selectedData)
listHeader - le component graphique à initialiserprotected void initNumberEditor(jaxx.runtime.swing.editor.NumberEditor editor)
protected void initTimeEditor(jaxx.runtime.swing.editor.TimeEditor editor)
protected void initDatePicker(org.jdesktop.swingx.JXDatePicker picker)
protected <B extends AbstractTuttiBean> void updateIndices(JList<B> jlist, List<B> list)
protected <O> ListCellRenderer newListCellRender(Class<O> type)
protected <O> TableCellRenderer newTableCellRender(Class<O> type)
protected void listenValidatorValid(org.nuiton.validator.bean.simple.SimpleBeanValidator validator,
AbstractTuttiBeanUIModel model)
protected void listModelIsModify(AbstractTuttiBeanUIModel model)
Copyright © 2012 Ifremer. All Rights Reserved.