public class ListComboModel extends Object implements ComboBoxModel
Constructor and Description |
---|
ListComboModel() |
ListComboModel(ListModel model)
Creates a new instance of ListComboModel
|
Modifier and Type | Method and Description |
---|---|
void |
addListDataListener(ListDataListener l) |
Object |
getElementAt(int index) |
ListModel |
getListModel() |
Object |
getSelectedItem() |
int |
getSize() |
void |
removeListDataListener(ListDataListener l) |
void |
setSelectedItem(Object anItem) |
public ListComboModel(ListModel model)
public ListComboModel()
public ListModel getListModel()
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public void setSelectedItem(Object anItem)
setSelectedItem
in interface ComboBoxModel
public void addListDataListener(ListDataListener l)
addListDataListener
in interface ListModel
public Object getElementAt(int index)
getElementAt
in interface ListModel
public void removeListDataListener(ListDataListener l)
removeListDataListener
in interface ListModel
Copyright © 2004-15 Francesc Busquets (fbusquets@xtec.cat) & Departament d'Educació de la Generalitat de Catalunya (info@xtec.cat)
Licensed under the terms of the GNU General Public License.