public class JaxxComboBoxHandler<O> extends Object implements PropertyChangeListener, UIHandler<JaxxComboBox<O>>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
init |
static org.apache.logging.log4j.Logger |
log |
protected JaxxComboBox<O> |
ui |
| Constructor and Description |
|---|
JaxxComboBoxHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterInit(JaxxComboBox<O> ui) |
void |
beforeInit(JaxxComboBox<O> ui) |
protected void |
focusCombo()
Focus combo only if autoFocus ui property is on.
|
void |
init(org.nuiton.decorator.JXPathDecorator<O> decorator,
List<O> data)
Initialise le handler de l'ui
|
void |
propertyChange(PropertyChangeEvent evt) |
void |
reset()
Reset the combo-box; says remove any selected item and filter text.
|
protected void |
setIndex(Integer oldValue,
Integer newValue)
Modifie l'index du décorateur
|
protected void |
setSelectedItem(O oldValue,
O newValue)
Modifie la valeur sélectionnée dans la liste déroulante.
|
protected void |
setSortOrder(Boolean oldValue,
Boolean newValue)
Modifie l'index du décorateur
|
void |
togglePopup()
Toggle the popup visible state.
|
public static final org.apache.logging.log4j.Logger log
protected JaxxComboBox<O> ui
protected boolean init
public void beforeInit(JaxxComboBox<O> ui)
beforeInit in interface UIHandler<JaxxComboBox<O>>public void afterInit(JaxxComboBox<O> ui)
afterInit in interface UIHandler<JaxxComboBox<O>>public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerpublic void init(org.nuiton.decorator.JXPathDecorator<O> decorator, List<O> data)
decorator - decorator to usedata - incoming data to push in the modelpublic void togglePopup()
public void reset()
protected void focusCombo()
protected void setIndex(Integer oldValue, Integer newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeurprotected void setSortOrder(Boolean oldValue, Boolean newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeurCopyright © 2008–2020 Ultreia.io. All rights reserved.