org.jdesktop.swingx.combobox
Class ListModelComboBoxWrapper
java.lang.Object
javax.swing.AbstractListModel
org.jdesktop.swingx.combobox.ListModelComboBoxWrapper
- All Implemented Interfaces:
- Serializable, ComboBoxModel, ListModel
public class ListModelComboBoxWrapper
- extends AbstractListModel
- implements ComboBoxModel
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListModelComboBoxWrapper
public ListModelComboBoxWrapper(ListModel delegate)
getSize
public int getSize()
- Specified by:
getSize
in interface ListModel
getElementAt
public Object getElementAt(int index)
- Specified by:
getElementAt
in interface ListModel
addListDataListener
public void addListDataListener(ListDataListener l)
- Specified by:
addListDataListener
in interface ListModel
- Overrides:
addListDataListener
in class AbstractListModel
removeListDataListener
public void removeListDataListener(ListDataListener l)
- Specified by:
removeListDataListener
in interface ListModel
- Overrides:
removeListDataListener
in class AbstractListModel
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
Copyright © 2012. All Rights Reserved.