net.sourceforge.xwing.swing
Class XComboBoxModel
java.lang.Object
javax.swing.AbstractListModel
net.sourceforge.xwing.swing.XComboBoxModel
- All Implemented Interfaces:
- ComboBoxModel, ListModel, Serializable
- public class XComboBoxModel
- 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 |
XComboBoxModel
public XComboBoxModel(SourceSink selection,
ListModel choices)
throws Exception
setSelectedItem
public void setSelectedItem(Object item)
- Specified by:
setSelectedItem
in interface ComboBoxModel
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
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
removeListDataListener
public void removeListDataListener(ListDataListener l)
- Specified by:
removeListDataListener
in interface ListModel
Copyright © 2003 The Xwing Project. All Rights Reserved.