|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.swing.EntityComboBoxHandler<O>
O - le type des objet contenus dans le modèle du composant.BeanComboBoxHandler.
@Deprecated public class EntityComboBoxHandler<O>
Le handler d'un EntityComboBox.
EntityComboBox| Field Summary | |
|---|---|
static String |
AUTO_COMPLETE_PROPERTY
Deprecated. |
protected org.jdesktop.swingx.autocomplete.ObjectToStringConverter |
convertor
Deprecated. the convertor used to auto-complete |
static String |
DATA_PROPERTY
Deprecated. |
protected MultiJXPathDecorator<O> |
decorator
Deprecated. the decorator of data |
protected FocusListener |
EDITOR_TEXT_COMP0NENT_FOCUSLISTENER
Deprecated. |
static String |
INDEX_PROPERTY
Deprecated. |
protected boolean |
init
Deprecated. |
static org.apache.commons.logging.Log |
log
Deprecated. |
protected Method |
mutator
Deprecated. the mutator method on the property of boxed bean in the ui |
protected Document |
originalDocument
Deprecated. the original document of the combbo box editor (keep it to make possible undecorate) |
static String |
SELECTED_ITEM_PROPERTY
Deprecated. |
protected EntityComboBox<O> |
ui
Deprecated. ui if the handler |
| Constructor Summary | |
|---|---|
EntityComboBoxHandler(EntityComboBox<O> ui)
Deprecated. |
|
| Method Summary | |
|---|---|
static void |
decorate(JComboBox combo,
org.jdesktop.swingx.autocomplete.ObjectToStringConverter convertor)
Deprecated. Ajout l'auto-complétion sur une liste déroulante, en utilisant le converteur donné pour afficher les données. |
MultiJXPathDecorator<O> |
getDecorator()
Deprecated. |
protected Method |
getMutator()
Deprecated. |
Document |
getOriginalDocument()
Deprecated. |
Class<?> |
getTargetClass()
Deprecated. |
void |
init(JXPathDecorator<O> decorator,
List<O> data)
Deprecated. Initialise le handler de l'ui |
static org.jdesktop.swingx.autocomplete.ObjectToStringConverter |
newDecoratedObjectToStringConverter(Decorator<?> decorator)
Deprecated. Encapsule un Decorator dans un ObjectToStringConverter. |
protected void |
preparePopup(MultiJXPathDecorator<?> decorator)
Deprecated. Creation de l'ui pour modifier le décorateur. |
void |
propertyChange(PropertyChangeEvent evt)
Deprecated. |
protected void |
setAutoComplete(Boolean oldValue,
Boolean newValue)
Deprecated. Modifie l'état autoComplete de l'ui. |
protected void |
setIndex(Integer oldValue,
Integer newValue)
Deprecated. Modifie l'index du décorateur |
protected void |
setSelectedItem(Object oldValue,
Object newValue)
Deprecated. Modifie la valeur sélectionnée dans la liste déroulante. |
void |
togglePopup()
Deprecated. Toggle the popup visible state. |
static void |
undecorate(JComboBox combo,
Document originalDocument)
Deprecated. Désactive l'aut-complétion sur une liste déroulante, en y repositionnant le modèle du document d'édition d'avant auto-complétion. |
| 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
public static final String SELECTED_ITEM_PROPERTY
public static final String INDEX_PROPERTY
public static final String AUTO_COMPLETE_PROPERTY
public static final String DATA_PROPERTY
protected EntityComboBox<O> ui
protected Method mutator
protected Document originalDocument
protected org.jdesktop.swingx.autocomplete.ObjectToStringConverter convertor
protected MultiJXPathDecorator<O> decorator
protected boolean init
protected final FocusListener EDITOR_TEXT_COMP0NENT_FOCUSLISTENER
| Constructor Detail |
|---|
public EntityComboBoxHandler(EntityComboBox<O> ui)
| Method Detail |
|---|
public void init(JXPathDecorator<O> decorator,
List<O> data)
decorator - le decorateur a utiliserdata - la liste des données a gérerpublic void togglePopup()
protected void setAutoComplete(Boolean oldValue,
Boolean newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeur
protected void setIndex(Integer oldValue,
Integer newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeur
protected void setSelectedItem(Object oldValue,
Object newValue)
oldValue - l'ancienne valeurnewValue - la nouvelle valeurpublic Document getOriginalDocument()
public MultiJXPathDecorator<O> getDecorator()
protected void preparePopup(MultiJXPathDecorator<?> decorator)
decorator - le decorateur a utiliserpublic Class<?> getTargetClass()
protected Method getMutator()
public static org.jdesktop.swingx.autocomplete.ObjectToStringConverter newDecoratedObjectToStringConverter(Decorator<?> decorator)
Decorator dans un ObjectToStringConverter.
decorator - le decorateur a encapsuler.
ObjectToStringConverter
public static void decorate(JComboBox combo,
org.jdesktop.swingx.autocomplete.ObjectToStringConverter convertor)
combo - la combo à décorerconvertor - le converter utilisé pour afficher les données.
public static void undecorate(JComboBox combo,
Document originalDocument)
combo - la liste déroulante à décoreroriginalDocument - le document original de l'édtieur de la
liste déroulante.public void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||