Package org.jdesktop.swingx.combobox
Class ListModelComboBoxWrapper
- All Implemented Interfaces:
Serializable,ComboBoxModel<Object>,ListModel<Object>
public class ListModelComboBoxWrapper
extends AbstractListModel<Object>
implements ComboBoxModel<Object>
- See Also:
-
Field Summary
Fields inherited from class javax.swing.AbstractListModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetElementAt(int index) intgetSize()voidvoidsetSelectedItem(Object anItem) Methods inherited from class javax.swing.AbstractListModel
fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners
-
Constructor Details
-
ListModelComboBoxWrapper
-
-
Method Details
-
getSize
public int getSize() -
getElementAt
- Specified by:
getElementAtin interfaceListModel<Object>
-
addListDataListener
- Specified by:
addListDataListenerin interfaceListModel<Object>- Overrides:
addListDataListenerin classAbstractListModel<Object>
-
removeListDataListener
- Specified by:
removeListDataListenerin interfaceListModel<Object>- Overrides:
removeListDataListenerin classAbstractListModel<Object>
-
setSelectedItem
- Specified by:
setSelectedItemin interfaceComboBoxModel<Object>
-
getSelectedItem
- Specified by:
getSelectedItemin interfaceComboBoxModel<Object>
-