public class JaxxFilterableComboBoxModel<E> extends JaxxDefaultComboBoxModel<E>
| Modifier and Type | Field and Description |
|---|---|
protected org.nuiton.decorator.JXPathDecorator<E> |
decorator
the decorator of data
|
static Character |
DEFAULT_WILDCARD_CHARACTER |
protected List<E> |
filteredItems |
protected List<Predicate<E>> |
filters |
protected String |
filterText |
protected Character |
wildcardCharacter |
delegate, selectedObjectlistenerList| Constructor and Description |
|---|
JaxxFilterableComboBoxModel() |
JaxxFilterableComboBoxModel(Collection<E> v) |
JaxxFilterableComboBoxModel(E... items) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAllElements(Collection<E> objects) |
void |
addElement(Object anObject) |
void |
addFilter(Predicate<E> filter) |
void |
clearFilters() |
org.nuiton.decorator.JXPathDecorator<E> |
getDecorator() |
E |
getElementAt(int index) |
String |
getFilterText() |
int |
getIndexOf(E anObject) |
int |
getSize() |
Character |
getWildcardCharacter() |
void |
insertElementAt(Object anObject,
int index) |
protected void |
refilter() |
void |
refreshFilteredElements() |
void |
removeAllElements()
Empties the list.
|
void |
removeElement(Object anObject) |
void |
removeElementAt(int index) |
void |
removeFilter(Predicate<E> filter) |
void |
setDecorator(org.nuiton.decorator.JXPathDecorator<E> decorator) |
void |
setFilterText(String filterText) |
void |
setWildcardCharacter(Character wildcardCharacter) |
addWillChangeSelectedItemListener, fireSelectedItemWillChanged, getSelectedItem, removeWillChangeSelectedItemListener, setAllElements, setSelectedItemaddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerpublic static final Character DEFAULT_WILDCARD_CHARACTER
protected String filterText
protected Character wildcardCharacter
protected org.nuiton.decorator.JXPathDecorator<E> decorator
public JaxxFilterableComboBoxModel()
public JaxxFilterableComboBoxModel(E... items)
public JaxxFilterableComboBoxModel(Collection<E> v)
public int getIndexOf(E anObject)
getIndexOf in class JaxxDefaultComboBoxModel<E>public void addAllElements(Collection<E> objects)
addAllElements in class JaxxDefaultComboBoxModel<E>public void removeAllElements()
removeAllElements in class JaxxDefaultComboBoxModel<E>public int getSize()
getSize in interface ListModelgetSize in class JaxxDefaultComboBoxModel<E>public E getElementAt(int index)
getElementAt in interface ListModelgetElementAt in class JaxxDefaultComboBoxModel<E>public void addElement(Object anObject)
addElement in interface MutableComboBoxModeladdElement in class JaxxDefaultComboBoxModel<E>public void insertElementAt(Object anObject, int index)
insertElementAt in interface MutableComboBoxModelinsertElementAt in class JaxxDefaultComboBoxModel<E>public void removeElementAt(int index)
removeElementAt in interface MutableComboBoxModelremoveElementAt in class JaxxDefaultComboBoxModel<E>public void removeElement(Object anObject)
removeElement in interface MutableComboBoxModelremoveElement in class JaxxDefaultComboBoxModel<E>public String getFilterText()
public void setFilterText(String filterText)
public Character getWildcardCharacter()
public void setWildcardCharacter(Character wildcardCharacter)
public org.nuiton.decorator.JXPathDecorator<E> getDecorator()
public void setDecorator(org.nuiton.decorator.JXPathDecorator<E> decorator)
public void clearFilters()
public void refreshFilteredElements()
protected void refilter()
Copyright © 2008–2018 Ultreia.io. All rights reserved.