public class EnumerationPopupListModel extends PopupListModel
listenerList| Constructor and Description |
|---|
EnumerationPopupListModel(IEnumType enumAccess) |
| Modifier and Type | Method and Description |
|---|---|
PopupListModel |
createSubset(List subset)
Given the a subset of components in this model, creates a new model
containing just this subset.
|
String |
getDisplayText(Object element)
Returns the display name for the element.
|
IIntelliTextModel |
getFilteredModel(String strPrefix) |
String |
getInsertionTextFrom(Object element)
Returns a string to insert into a text editor that is representative of the
given element in the model.
|
List |
getModel()
Returns the underlying list.
|
String |
getTypeName()
Returns a displayable string for the type of elements in the model.
|
List |
getUnfilteredModel()
Returns an unfiltered version of this model.
|
Object |
parseElement(String strValue)
Returns the element in the model corresponding with the string value.
|
getElementAt, getFilter, getFilterPrefix, getModelUpdatedOrFilteredByPredicate, getSize, setFilteraddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerpublic EnumerationPopupListModel(IEnumType enumAccess)
public String getInsertionTextFrom(Object element)
IIntelliTextModelpublic String getDisplayText(Object element)
IIntelliTextModelpublic PopupListModel createSubset(List subset)
PopupListModelcreateSubset in class PopupListModelpublic List getModel()
PopupListModelgetModel in class PopupListModelpublic List getUnfilteredModel()
PopupListModelgetUnfilteredModel in class PopupListModelpublic String getTypeName()
IIntelliTextModelpublic Object parseElement(String strValue)
IIntelliTextModelpublic IIntelliTextModel getFilteredModel(String strPrefix)
getFilteredModel in interface IIntelliTextModelgetFilteredModel in class PopupListModelCopyright © 2017. All rights reserved.