|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.swing.editor.bean.BeanComboBoxHandler<O>
O - le type des objet contenus dans le modèle du composant.public class BeanComboBoxHandler<O>
Le handler d'un BeanComboBox.
BeanComboBox| Field Summary | |
|---|---|
protected org.jdesktop.swingx.autocomplete.ObjectToStringConverter |
convertor
the convertor used to auto-complete |
protected MultiJXPathDecorator<O> |
decorator
the decorator of data |
protected java.awt.event.FocusListener |
EDITOR_TEXT_COMP0NENT_FOCUSLISTENER
|
protected boolean |
init
|
static org.apache.commons.logging.Log |
log
|
protected java.lang.reflect.Method |
mutator
the mutator method on the property of boxed bean in the ui |
protected javax.swing.text.Document |
originalDocument
the original document of the combbo box editor (keep it to make possible undecorate) |
protected BeanComboBox<O> |
ui
ui if the handler |
| Constructor Summary | |
|---|---|
BeanComboBoxHandler(BeanComboBox<O> ui)
|
|
| Method Summary | |
|---|---|
MultiJXPathDecorator<O> |
getDecorator()
|
protected java.lang.reflect.Method |
getMutator()
|
javax.swing.text.Document |
getOriginalDocument()
|
java.lang.Class<?> |
getTargetClass()
|
void |
init(JXPathDecorator<O> decorator,
java.util.List<O> data)
Initialise le handler de l'ui |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
protected void |
setAutoComplete(java.lang.Boolean oldValue,
java.lang.Boolean newValue)
Modifie l'état autoComplete de l'ui. |
protected void |
setIndex(java.lang.Integer oldValue,
java.lang.Integer newValue)
Modifie l'index du décorateur |
protected void |
setSelectedItem(java.lang.Object oldValue,
java.lang.Object newValue)
Modifie la valeur sélectionnée dans la liste déroulante. |
protected void |
setSortOrder(java.lang.Boolean oldValue,
java.lang.Boolean newValue)
Modifie l'index du décorateur |
void |
togglePopup()
Toggle the popup visible state. |
protected void |
updateUI(int index,
boolean reversesort)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.commons.logging.Log log
protected BeanComboBox<O> ui
protected java.lang.reflect.Method mutator
protected javax.swing.text.Document originalDocument
protected org.jdesktop.swingx.autocomplete.ObjectToStringConverter convertor
protected MultiJXPathDecorator<O> decorator
protected boolean init
protected final java.awt.event.FocusListener EDITOR_TEXT_COMP0NENT_FOCUSLISTENER
| Constructor Detail |
|---|
public BeanComboBoxHandler(BeanComboBox<O> ui)
| Method Detail |
|---|
public void init(JXPathDecorator<O> decorator,
java.util.List<O> data)
decorator - le decorateur a utiliserdata - la liste des données a gérerpublic void togglePopup()
protected void setAutoComplete(java.lang.Boolean oldValue,
java.lang.Boolean newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeur
protected void setIndex(java.lang.Integer oldValue,
java.lang.Integer newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeur
protected void setSortOrder(java.lang.Boolean oldValue,
java.lang.Boolean newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeur
protected void updateUI(int index,
boolean reversesort)
protected void setSelectedItem(java.lang.Object oldValue,
java.lang.Object newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeurpublic javax.swing.text.Document getOriginalDocument()
public MultiJXPathDecorator<O> getDecorator()
public java.lang.Class<?> getTargetClass()
protected java.lang.reflect.Method getMutator()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||