public class FixedClassInfoComboModel extends AbstractFixedAutoComboModel<ClassInfo>
allentries
combo, entries, max, selected
Constructor and Description |
---|
FixedClassInfoComboModel(AutoCompleteCombo combo,
int max,
java.util.List<ClassInfo> allentries)
Create a new AbstractFixedAutoComboModel.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsVal(ClassInfo val) |
ClassInfo |
convertFromString(java.lang.String val) |
java.lang.String |
convertToString(ClassInfo val) |
ClassInfo |
getModelValue(java.lang.String val)
Get value from model that equals converted value.
|
static java.util.List<ClassInfo> |
sort(java.util.List<ClassInfo> entries) |
copyEntries, doSetPattern
addToTop, addValToTop, contains, fireChangeEvents, getCombo, getElementAt, getSelectedItem, getSize, setPattern, setSelectedItem, setSelectedItemQuiet
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
public FixedClassInfoComboModel(AutoCompleteCombo combo, int max, java.util.List<ClassInfo> allentries)
public ClassInfo convertFromString(java.lang.String val)
convertFromString
in class AbstractAutoComboModel<ClassInfo>
public java.lang.String convertToString(ClassInfo val)
convertToString
in class AbstractAutoComboModel<ClassInfo>
public boolean containsVal(ClassInfo val)
containsVal
in class AbstractAutoComboModel<ClassInfo>
public ClassInfo getModelValue(java.lang.String val)
AbstractAutoComboModel
getModelValue
in class AbstractAutoComboModel<ClassInfo>