org.springframework.richclient.list
Class ComboBoxListModel
java.lang.Object
javax.swing.AbstractListModel
org.springframework.binding.value.support.ListListModel
org.springframework.richclient.list.ComboBoxListModel
- All Implemented Interfaces:
- Serializable, Iterable, Collection, List, ComboBoxModel, ListModel, MutableComboBoxModel, ObservableList
- Direct Known Subclasses:
- DynamicComboBoxListModel
public class ComboBoxListModel
- extends ListListModel
- implements ComboBoxModel, MutableComboBoxModel
- Author:
- Keith Donald
- See Also:
- Serialized Form
Methods inherited from class org.springframework.binding.value.support.ListListModel |
contains, containsAll, fireContentsChanged, fireContentsChanged, get, getElementAt, getIndexAdapter, getItems, getSize, hasChanged, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, replaceWith, retainAll, set, setComparator, size, sort, subList, toArray, toArray |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ComboBoxListModel
public ComboBoxListModel()
ComboBoxListModel
public ComboBoxListModel(List items)
ComboBoxListModel
public ComboBoxListModel(List items,
Comparator sorter)
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
setSelectedItem
public void setSelectedItem(Object anItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
add
public void add(int index,
Object o)
- Specified by:
add
in interface List
- Overrides:
add
in class ListListModel
setSelectedItemOnNullValue
protected void setSelectedItemOnNullValue()
setSelectedItemIfNecessary
protected void setSelectedItemIfNecessary(Object o)
add
public boolean add(Object o)
- Specified by:
add
in interface Collection
- Specified by:
add
in interface List
- Overrides:
add
in class ListListModel
addAll
public boolean addAll(Collection c)
- Specified by:
addAll
in interface Collection
- Specified by:
addAll
in interface List
- Overrides:
addAll
in class ListListModel
addAll
public boolean addAll(int index,
Collection c)
- Specified by:
addAll
in interface List
- Overrides:
addAll
in class ListListModel
clear
public void clear()
- Specified by:
clear
in interface Collection
- Specified by:
clear
in interface List
- Overrides:
clear
in class ListListModel
remove
public Object remove(int index)
- Specified by:
remove
in interface List
- Overrides:
remove
in class ListListModel
addElement
public void addElement(Object anObject)
- Specified by:
addElement
in interface MutableComboBoxModel
insertElementAt
public void insertElementAt(Object anObject,
int index)
- Specified by:
insertElementAt
in interface MutableComboBoxModel
removeElementAt
public void removeElementAt(int index)
- Specified by:
removeElementAt
in interface MutableComboBoxModel
removeElement
public void removeElement(Object o)
- Specified by:
removeElement
in interface MutableComboBoxModel
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.