Package jadex.commons.gui.autocombo
Class ClassComboModel
- java.lang.Object
-
- javax.swing.AbstractListModel
-
- jadex.commons.gui.autocombo.AbstractAutoComboModel<java.lang.Class<?>>
-
- jadex.commons.gui.autocombo.ClassComboModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.ComboBoxModel
,javax.swing.ListModel
public class ClassComboModel extends AbstractAutoComboModel<java.lang.Class<?>>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
absclasses
protected boolean
classes
protected IFilter<java.lang.Class<?>>
classfilter
protected IFilter<java.lang.String>
filefilter
protected boolean
inclasses
protected boolean
inter
-
Fields inherited from class jadex.commons.gui.autocombo.AbstractAutoComboModel
combo, entries, max, selected
-
-
Constructor Summary
Constructors Constructor Description ClassComboModel(AutoCompleteCombo combo, int max)
Create a new ClassComboModel.ClassComboModel(AutoCompleteCombo combo, int max, boolean inter, boolean absclasses, boolean inclasses, boolean classes, IFilter<java.lang.String> filefilter, IFilter<java.lang.Class<?>> classfilter)
Create a new ClassComboModel.
-
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)
ISubscriptionIntermediateFuture<java.lang.Class<?>>
doSetPattern(java.lang.String pattern)
ISubscriptionIntermediateFuture<java.lang.Class<?>>
performSearch(java.lang.String exp, boolean inter, boolean abscla, boolean cla, boolean incla, int max)
Perform a search using a search expression.-
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
-
ClassComboModel
public ClassComboModel(AutoCompleteCombo combo, int max)
Create a new ClassComboModel.
-
ClassComboModel
public ClassComboModel(AutoCompleteCombo combo, int max, boolean inter, boolean absclasses, boolean inclasses, boolean classes, IFilter<java.lang.String> filefilter, IFilter<java.lang.Class<?>> classfilter)
Create a new ClassComboModel.
-
-
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<?>>
-
doSetPattern
public ISubscriptionIntermediateFuture<java.lang.Class<?>> doSetPattern(java.lang.String pattern)
- Specified by:
doSetPattern
in classAbstractAutoComboModel<java.lang.Class<?>>
-
performSearch
public ISubscriptionIntermediateFuture<java.lang.Class<?>> performSearch(java.lang.String exp, boolean inter, boolean abscla, boolean cla, boolean incla, int max)
Perform a search using a search expression.
-
-