public class RangeModel extends PopupListModel
| Modifier and Type | Field and Description |
|---|---|
protected List |
_model |
listenerList| Constructor and Description |
|---|
RangeModel() |
| 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.
|
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.
|
protected void |
init() |
Object |
parseElement(String strValue)
Returns the element in the model corresponding with the string value.
|
void |
resetModel() |
void |
setSortByName(boolean bSortByName) |
boolean |
shouldResetModel() |
getElementAt, getFilter, getFilteredModel, getFilterPrefix, getModelUpdatedOrFilteredByPredicate, getSize, setFilteraddListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerprotected List _model
protected void init()
public String getInsertionTextFrom(Object element)
IIntelliTextModelpublic String getDisplayText(Object element)
IIntelliTextModelpublic String getTypeName()
IIntelliTextModelpublic Object parseElement(String strValue)
IIntelliTextModelpublic void setSortByName(boolean bSortByName)
public PopupListModel createSubset(List subset)
PopupListModelcreateSubset in class PopupListModelpublic List getModel()
PopupListModelgetModel in class PopupListModelpublic void resetModel()
public List getUnfilteredModel()
PopupListModelgetUnfilteredModel in class PopupListModelpublic boolean shouldResetModel()
Copyright © 2016. All rights reserved.