public abstract class PopupListModel extends AbstractListModel implements IIntelliTextModel
listenerList| Modifier | Constructor and Description |
|---|---|
protected |
PopupListModel() |
protected |
PopupListModel(Predicate filter) |
| Modifier and Type | Method and Description |
|---|---|
abstract PopupListModel |
createSubset(List subset)
Given the a subset of components in this model, creates a new model
containing just this subset.
|
Object |
getElementAt(int iIndex) |
Predicate |
getFilter() |
IIntelliTextModel |
getFilteredModel(String strPrefix) |
String |
getFilterPrefix() |
abstract List |
getModel()
Returns the underlying list.
|
List |
getModelUpdatedOrFilteredByPredicate()
Returns the underlying list, filtered by the predicate if it exists
|
int |
getSize() |
abstract List |
getUnfilteredModel()
Returns an unfiltered version of this model.
|
void |
setFilter(Predicate filter) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDisplayText, getInsertionTextFrom, getTypeName, parseElementprotected PopupListModel()
protected PopupListModel(Predicate filter)
public abstract PopupListModel createSubset(List subset)
public abstract List getModel()
public abstract List getUnfilteredModel()
public void setFilter(Predicate filter)
public Predicate getFilter()
public Object getElementAt(int iIndex)
getElementAt in interface ListModelpublic String getFilterPrefix()
getFilterPrefix in interface IIntelliTextModelpublic IIntelliTextModel getFilteredModel(String strPrefix)
getFilteredModel in interface IIntelliTextModelpublic List getModelUpdatedOrFilteredByPredicate()
Copyright © 2022. All rights reserved.