Package editor
Class PopupListModel
java.lang.Object
javax.swing.AbstractListModel
editor.PopupListModel
- All Implemented Interfaces:
IIntelliTextModel,Serializable,ListModel
- See Also:
-
Field Summary
FieldsFields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract PopupListModelcreateSubset(List subset) Given the a subset of components in this model, creates a new model containing just this subset.getElementAt(int iIndex) getFilteredModel(String strPrefix) abstract ListgetModel()Returns the underlying list.Returns the underlying list, filtered by the predicate if it existsintgetSize()abstract ListReturns an unfiltered version of this model.voidMethods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface editor.IIntelliTextModel
getDisplayText, getInsertionTextFrom, getTypeName, parseElement
-
Field Details
-
_strFilterPrefix
-
_filter
-
-
Constructor Details
-
PopupListModel
protected PopupListModel() -
PopupListModel
-
-
Method Details
-
createSubset
Given the a subset of components in this model, creates a new model containing just this subset. -
getModel
Returns the underlying list. -
getUnfilteredModel
Returns an unfiltered version of this model. If the model is not filtered, this may return the same reference as getModel(). -
setFilter
-
getFilter
-
getSize
public int getSize() -
getElementAt
- Specified by:
getElementAtin interfaceListModel
-
getFilterPrefix
- Specified by:
getFilterPrefixin interfaceIIntelliTextModel
-
getFilteredModel
- Specified by:
getFilteredModelin interfaceIIntelliTextModel
-
getModelUpdatedOrFilteredByPredicate
Returns the underlying list, filtered by the predicate if it exists
-