Package jadex.base.gui.reposearch
Class RepositorySearchPanel.RepoComboModel
- java.lang.Object
-
- javax.swing.AbstractListModel
-
- jadex.base.gui.reposearch.RepositorySearchPanel.RepoComboModel
-
- All Implemented Interfaces:
java.io.Serializable
,javax.swing.ComboBoxModel
,javax.swing.ListModel
- Enclosing class:
- RepositorySearchPanel
public class RepositorySearchPanel.RepoComboModel extends javax.swing.AbstractListModel implements javax.swing.ComboBoxModel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected RepositorySearchPanel.RepositoryInfo
selection
-
Constructor Summary
Constructors Constructor Description RepoComboModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changed()
java.lang.Object
getElementAt(int index)
java.lang.Object
getSelectedItem()
int
getSize()
void
setSelectedItem(java.lang.Object anItem)
-
Methods inherited from class javax.swing.AbstractListModel
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener
-
-
-
-
Field Detail
-
selection
protected RepositorySearchPanel.RepositoryInfo selection
-
-
Method Detail
-
getElementAt
public java.lang.Object getElementAt(int index)
- Specified by:
getElementAt
in interfacejavax.swing.ListModel
-
getSize
public int getSize()
- Specified by:
getSize
in interfacejavax.swing.ListModel
-
setSelectedItem
public void setSelectedItem(java.lang.Object anItem)
- Specified by:
setSelectedItem
in interfacejavax.swing.ComboBoxModel
-
getSelectedItem
public java.lang.Object getSelectedItem()
- Specified by:
getSelectedItem
in interfacejavax.swing.ComboBoxModel
-
changed
public void changed()
-
-