Package jadex.commons.gui.autocombo
Class FixedClassComboModel
- java.lang.Object
-
- javax.swing.AbstractListModel
-
- jadex.commons.gui.autocombo.AbstractAutoComboModel<T>
-
- jadex.commons.gui.autocombo.AbstractFixedAutoComboModel<java.lang.Class<?>>
-
- jadex.commons.gui.autocombo.FixedClassComboModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.ComboBoxModel
,javax.swing.ListModel
public class FixedClassComboModel extends AbstractFixedAutoComboModel<java.lang.Class<?>>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class jadex.commons.gui.autocombo.AbstractFixedAutoComboModel
allentries
-
Fields inherited from class jadex.commons.gui.autocombo.AbstractAutoComboModel
combo, entries, max, selected
-
-
Constructor Summary
Constructors Constructor Description FixedClassComboModel(AutoCompleteCombo combo, int max, java.util.List<java.lang.Class<?>> allentries)
Create a new AbstractFixedAutoComboModel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<?>
convertFromString(java.lang.String val)
java.lang.String
convertToString(java.lang.Class<?> val)
-
Methods inherited from class jadex.commons.gui.autocombo.AbstractFixedAutoComboModel
copyEntries, doSetPattern
-
Methods inherited from class jadex.commons.gui.autocombo.AbstractAutoComboModel
addToTop, addValToTop, contains, containsVal, fireChangeEvents, getCombo, getElementAt, getModelValue, getSelectedItem, getSize, setPattern, setSelectedItem, setSelectedItemQuiet
-
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
-
-
-
Constructor Detail
-
FixedClassComboModel
public FixedClassComboModel(AutoCompleteCombo combo, int max, java.util.List<java.lang.Class<?>> allentries)
Create a new AbstractFixedAutoComboModel.
-
-
Method Detail
-
convertFromString
public java.lang.Class<?> convertFromString(java.lang.String val)
- Specified by:
convertFromString
in classAbstractAutoComboModel<java.lang.Class<?>>
-
convertToString
public java.lang.String convertToString(java.lang.Class<?> val)
- Specified by:
convertToString
in classAbstractAutoComboModel<java.lang.Class<?>>
-
-