org.springframework.richclient.list
Class DynamicComboBoxListModel
java.lang.Object
javax.swing.AbstractListModel
org.springframework.binding.value.support.ListListModel
org.springframework.richclient.list.ComboBoxListModel
org.springframework.richclient.list.DynamicComboBoxListModel
- All Implemented Interfaces:
- PropertyChangeListener, Serializable, Iterable, Collection, EventListener, List, ComboBoxModel, ListModel, MutableComboBoxModel, ObservableList
public class DynamicComboBoxListModel
- extends ComboBoxListModel
- implements PropertyChangeListener
A combobox whose contents are dynamically refreshable.
- Author:
- Keith Donald
- See Also:
- Serialized Form
Methods inherited from class org.springframework.richclient.list.ComboBoxListModel |
add, add, addAll, addAll, addElement, clear, insertElementAt, remove, removeElement, removeElementAt, setSelectedItemIfNecessary, setSelectedItemOnNullValue |
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 |
DynamicComboBoxListModel
public DynamicComboBoxListModel(ValueModel selectedItemHolder)
DynamicComboBoxListModel
public DynamicComboBoxListModel(ValueModel selectedItemHolder,
List items)
DynamicComboBoxListModel
public DynamicComboBoxListModel(ValueModel selectedItemHolder,
ValueModel selectableItemsHolder)
setSelectableItemsHolder
public void setSelectableItemsHolder(ValueModel holder)
getSelectedItem
public Object getSelectedItem()
- Specified by:
getSelectedItem
in interface ComboBoxModel
- Overrides:
getSelectedItem
in class ComboBoxListModel
setSelectedItem
public void setSelectedItem(Object selectedItem)
- Specified by:
setSelectedItem
in interface ComboBoxModel
- Overrides:
setSelectedItem
in class ComboBoxListModel
propertyChange
public void propertyChange(PropertyChangeEvent evt)
- Specified by:
propertyChange
in interface PropertyChangeListener
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.